#include <iostream>
using namespace std;
int main(int argc, char** argv) {
long long int a,b,c;
while(cin>>a>>b>>c)
{
if(a>b&&b>c)
{if(a>=(b+c))
cout<<"A"<<endl;
else cout<<"B"<<endl;
}
else if(a>c&&c>b)
{if(a>=(c+b))cout<<"A"<<endl;
else cout<<"C"<<endl;
}
else if(b>a&&a>c)
{if(b>=(c+a))
cout<<"B"<<endl;
else cout<<"A"<<endl;
}
else if(b>c&&c>a)
{if(b>=(c+a))
cout<<"B"<<endl;
else cout<<"C"<<endl;
}
else if(c>a&&a>b)
{if(c>=(b+a))
cout<<"C"<<endl;
else cout<<"A"<<endl;
}
else if(c>b&&b>a)
{if(c>=(b+a))
cout<<"C"<<endl;
else cout<<"B"<<endl;
}
}
return 0;
}
#include
using namespace std;
int main(int argc, char** argv) {
long long int a,b,c;
while(cin>>a>>b>>c)
{
if(a>b&&b>c)
{if(a>=(b+c))
cout<<"A"<<endl;
else cout<<"B"<<endl;
}
else if(a>c&&c>b)
{if(a>=(c+b))cout<<"A"<<endl;
else cout<<"C"<<endl;
}
else if(b>a&&a>c)
{if(b>=(c+a))
cout<<"B"<<endl;
else cout<<"A"<<endl;
}
else if(b>c&&c>a)
{if(b>=(c+a))
cout<<"B"<<endl;
else cout<<"C"<<endl;
}
else if(c>a&&a>b)
{if(c>=(b+a))
cout<<"C"<<endl;
else cout<<"A"<<endl;
}
else if(c>b&&b>a)
{if(c>=(b+a))
cout<<"C"<<endl;
else cout<<"B"<<endl;
}
}
return 0;
}
如果是 3 3 7不就錯了嗎0u0?