Please Login in order to post a comment
lol
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { int x,y,z; int t; cin>>t; while(t--) { cin>>x>>y>>z; int a,b; a=x-z; b=y-z; if(a<0) a *=-1; if(b<0) b *=-1; if(a<b) cout<<"Cat A"<<endl; else a>b ? cout<<"Cat B"<<endl:cout<<"Mouse C"<<endl; } return 0; }
No more comments
Seems like cookies are disabled on this browser, please enable them to open this website
lol