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

Re:I need help~

Posted by wentu at 2007-02-15 02:18:31 on Problem 1102
In Reply To:Re:I need help~ Posted by:susdisk at 2007-02-09 15:46:23
只判断size是否为0即可,如果size和待处理的数都判断,结果会wa。
不信可以试试,呵呵,我就是这样,wa了好几次,然后把输入改为:
while(cin >> n && n != 0)
就Accepted了,呵呵。

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