hdu 1976 注意要仔细,别落下什么

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 17:23   2382   0
#include<stdio.h>
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int a,b,c;int sum,max;
int x,y,z;
scanf("%d%d%d",&a,&b,&c);
scanf("%d%d%d",&x,&y,&z);
sum=a*1000+b*100+c;
max=x*1000+y*100+z;
if(sum>max) printf("First\n");
if(sum<max) printf("Second\n");
if(sum==max) printf("Same\n");
}
return 0;
}
分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP