| ||||||||||
| 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 | |||||||||
Hint"while(scanf("%s%d",s,&n)==2)"中的含义!?while(scanf("%s%d",s,&n)==2)
这句话就是接收两个数据,就进行一次输出。这样写的话,程序不就是死循环?!
不知道我的理解对不?
对数据的测试,他是随机出几组数据测试啊,还是就一次给6组数据,然后一起输出。
我用vc在本地编译没问题,怎么算结果都对,就是没理解他的数据是怎么给的。总是Runtime Error!
郁闷,请AC过的牛人,指点一下!!!谢谢~~
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator