#include<iostream>
using namespace std;
int main()
{
long long int a,b,c;
while(cin>>a>>b>>c)
{
if(a>b&&b>c)
{
if(b+c>a)
cout<<"B\n";
else
cout<<"A\n";
}
else if(a>c&&c>b)
{
if(c+b>a)
cout<<"C\n";
else
cout<<"A\n";
}
else if(b>a&&a>c)
{
if(a+c>b)
cout<<"A\n";
else
cout<<"B\n";
}
else if(b>c&&c>a)
{
if(c+a>b)
cout<<"C\n";
else
cout<<"B\n";
}
else if(c>a&&a>b)
{
if(a+b>c)
cout<<"A\n";
else
cout<<"C\n";
}
else if(c>b&&b>a)
{
if(b+a>c)
cout<<"B\n";
else
cout<<"C\n";
}
}
}
為什麼會WA????
測試明明都OK啊...