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

很奇怪的问题:

Posted by tbaitm at 2006-09-30 03:38:08 on Problem 3012
这样输入则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