My issue
whats wrong with it
My code
#include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
while(t--){
int a,b;
cin>>a>>b;
if(b==1){
if(a==4 || a==0){
cout<<"On"<<endl;
}
else cout<<"Ambiguous"<<endl;
}
else if(b==0){
if(a==4 || a==0) cout<<"Off"<<endl;
else cout<<"On"<<endl;
}
}
return 0;
}
Problem Link: DARLIG Problem - CodeChef