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 |
世界杯又开始了! 耶!话说这题还不错,给中国男足指了一条明路“ the number of participating teams (0 ≤ T ≤ 200) ” 我相信,当T==200时,还是相当有希望的。 int T,N,t; main(){ for(;scanf("%d%d",&T,&N)&&T;printf("%d\n",N)) for(N*=3;T--;N-=t)scanf("%*s%d",&t); } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator