My issue
I am not able to find why i am getting the wrong answer.
It would be kind if anyone can help me out of this. Thanks!
My code
#include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
while(t>0){
int n;
cin>>n;
if(n<10){
cout<<"Thanks for helping chef!\n";
}
else {
cout<<"-1\n";
}
t--;
}
return 0;
}
Problem Link: FLOW008 Problem - CodeChef
Summary
This text will be hidden