My issue
My code
#include <iostream>
using namespace std;
int main() {
// your code goes here
int x,y;
cin>>x>>y;
while(x>0 && y>0)
cin>>x>>y;
if(x+y>6){
cout<<"YES"<<endl;
}
else{
cout<<"NO"<<endl;
}
return 0;
}
Problem Link: GDTURN Problem - CodeChef