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和WA的几点

Posted by Starshine at 2008-02-05 13:01:43 on Problem 1026
1、我原来为了方便,用 scanf("%d ", &k) 来读取k,后来发现当 k = 0 时,直接把后面的10一起读入了。所以大家不要用这种方法读入

2、填补空格的时候,记得最后input[n] = 0,不然wa的。

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