My issue
what will i take the limit for t in the question
My code
#include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
while(t<=sizeof(t)){
int x,y,sum;
cin>>x>>y;
sum=x+y;
if(sum>=6){
cout<<"yes";
}
else{
cout<<"no";
}
t++;
// your code goes here
}
return 0;
}
Problem Link: Good Turn Practice Coding Problem - CodeChef