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 |
是不是测试数据中的 T (test cases数目)与 后面的实际 test case数 不一致?In Reply To:很奇怪的问题: Posted by:tbaitm at 2006-09-30 03:38:08 > 这样输入则WA: > scanf("%I64d",&c); > while(scanf("%I64d%I64d%I64d",&n,&k,&m)!=EOF) > {//... > } > > 而这样输入则AC: > scanf("%I64d",&c); > while(c--) > { > scanf("%I64d%I64d%I64d",&n,&k,&m); > //... > } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator