CodeChef::FLOW008

 

#include<iostream>
using namespace std ;

int main(){
int t ;
cin >> t ;
while (t--){
int n ;
cin >> n ;
if (n < 10){
cout << "Thanks for helping Chef!" << '\n' ;
} else{
cout << -1 << '\n';
}

}
return 0 ;
}

Comments

Popular posts from this blog

CodeChef::CSUB

How Recursion Works?

Atcoder Educational Dp contest :: C vacation