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 |
读入完重量的那一行后不能加readln!读入完所有的重量后不能加readln! 如果v=0的话他不会空出一行的,加了readln就完了! 即:for i:=1 to n do read(wi[i]); //此处不能加readln! WA了10+次。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator