Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- int main()
- {
- int t,t1,t2,m=0,c=0;
- cin>>t;
- while(t--)
- {
- cin>>t1>>t2;
- if(t1>t2) m++;
- if(t2>t1) c++;
- }
- if(m>c)
- {
- cout<<"Mishka"<<endl;
- }
- if(m==c)
- {
- cout<<"Friendship is magic!^^"<<endl;
- }
- if(m<c)
- {
- cout<<"Chris"<<endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement