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 |
为什么加一个while循环就错了,去掉就a了,怪哉!while(scanf("%d%d",&n,&k)!=EOF)//这样子写错的 scanf("%d%d",&n,&k);//改成这样子就对了 请教牛人是怎么回事,难道是因为只有一组测试数据吗? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator