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 |
这个程序会TLE!!#include<iostream> #include<cstdio> using namespace std; int main() { int n,a,i=0; scanf("%d",&n); while(scanf("%d",&a)==1) i++; if((n-1)*2!=i) while(1); return 0; } 这个会OLE #include<iostream> #include<cstdio> using namespace std; int main() { int n,a,i=0; scanf("%d",&n); while(scanf("%d",&a)==1) i++; if((n-1)*2!=i) while(1) cout<<"shfushfu"<<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