Problem ID :a039. 公平的戰役(EOF版)

New Thread

User SE?

sean77 SendIMessage
sean77

a039. 公平的戰役(EOF版) | From: 116.241.3.211 | Post Date:2017-09-10 16:39:30.0

#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int a,b;
while(scanf("%d %d",&a,&b))
{
if(a==b)
printf("0\n");
else if(a>b)
printf("A %d\n",a-b);
else if(b>a)
printf("B %d\n",b-a);
}
return 0;
}
 
會出現SE? 
 


文章類型: 一般 | Reply | Back
User Re:SE?

sagit SendIMessage
sagit

a039. 公平的戰役(EOF版) | From: 192.168.2.108 | Post Date:2017-09-11 10:00:30.0

請看題目下面的提示 


文章類型: 一般 | Reply | Back

New Thread

ZeroJudge Forum