一直出現WA....不曉得哪裡有問題
#include
#include
int main(void)
{
int a,b,c;
while(scanf(" %d %d %d",&a,&b,&c)!=EOF)
{
if (a>b && a>c)
{
if (a>(b+c)) 改成a-(b+c)>0
{
printf("A\n");
}
else
{
if (b>c)
{
printf("B\n");
}
else
{
printf("C\n");
}
}
}
else if (b>a && b>c)
{
if (b>(a+c)) 改成b-(a+c)>0
{
printf("B\n");
}
else
{
if (a>c)
{
printf("A\n");
}
else
{
printf("C\n");
}
}
}
&nbP� \POST /Reply HTTP/1.1
Host: zerojudge.tw
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Accept: text/html,application/xhtml xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-tw,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Accept-Charset: UTF-8,*
Keep-Alive: 115
Connection: keep-alive
Referer: http://zerojudge.tw/Reply?origid=5242