My issue
include
using namespace std;
int main() {
int t;
cin >> t;
while (t–) {
int X, Y;
cin >> X >> Y;
if (X >= Y) {
cout << “CHEF” << endl;
} else {
cout << “CHEFINA” << endl;
}
}
return 0;
}
My code
#include <iostream>
using namespace std;
int main() {
int t;
cin >> t;
while (t--) {
int X, Y;
cin >> X >> Y;
if (X >= Y) {
cout << "CHEF" << endl;
} else {
cout << "CHEFINA" << endl;
}
}
return 0;
}
Problem Link: One Stone or Two Stones Practice Coding Problem