#include <iostream>
#define cb(a) cout<<#a;break
using namespace std; int main(){ int N;for(cin>>N;N--;cout<<endl){ int v[6]={0},i;for(i=0;i<6;++i)cin>>v[i]; for(i=0;i<3;++i){ if(v[i]>v[i+3]){cb(First);} else if(v[i]<v[i+3]){cb(Second);} else if(i==2){cb(Same);} } } return 0; }
Saturday, 21 March 2009
HOJ ( acm.hdu.edu.cn ) 1976
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment