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

tle n次之后,发现犯了个弱智错误

Posted by Drizzle at 2007-02-22 09:59:34 on Problem 2992
 while(scanf("%d%d", &n, &k) != EOF)
写成了while(scanf("%d%d", &n, &k))
EOF应该是-1
寒一下。。

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