Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

是不是测试数据中的 T (test cases数目)与 后面的实际 test case数 不一致?

Posted by tbaitm at 2006-09-30 03:43:16 on Problem 3012
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator