mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
25 lines
489 B
C++
25 lines
489 B
C++
|
#include <stdio.h>
|
||
|
int main()
|
||
|
{
|
||
|
int a[6],i,t;
|
||
|
scanf("%d",&t);
|
||
|
while(t--)
|
||
|
{
|
||
|
for(i=0;i<6;i++)
|
||
|
scanf("%d",&a[i]);
|
||
|
for(i=0;i<3;i++)
|
||
|
{
|
||
|
if(a[i]>a[i+3])
|
||
|
{
|
||
|
printf("First\n");
|
||
|
break;
|
||
|
}else if(a[i]<a[i+3])
|
||
|
{
|
||
|
printf("Second\n");
|
||
|
break;
|
||
|
}else if(i==2)printf("Same\n");
|
||
|
}
|
||
|
}
|
||
|
return 0;
|
||
|
}
|