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

读入完重量的那一行后不能加readln!

Posted by lihuansnb at 2011-02-09 10:46:39 on Problem 3013
读入完所有的重量后不能加readln!
如果v=0的话他不会空出一行的,加了readln就完了!
即:for i:=1 to n do read(wi[i]); //此处不能加readln!
WA了10+次。。

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