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 ;
}
#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
Post a Comment