HDU 1037 - Keep on Truckin'

没啥可说的...

 #include <iostream>
using namespace std;
const int n=;
int a,b,c;
int main()
{
while(cin>>a>>b>>c)
{
if(a<=) printf("CRASH %d\n",a);
else if(b<=) printf("CRASH %d\n",b);
else if(c<=) printf("CRASH %d\n",c);
else puts("NO CRASH");
}
}
上一篇:linux安装软件的学习


下一篇:Print a Binary Tree in Vertical Order