Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
.........#include<iostream.h> int main() { int a,b,c; cin>>a>>b>>c; if( a>168 && b>168 && c>168 ) {cout<<"NO CRASH"<<endl;} else if(a<=168) {cout<<"CRASH "<<a<<endl;} else if(b<=168) {cout<<"CRASH "<<b<<endl;} else {cout<<"CRASH "<<c<<endl;} return 0; } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator