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

千万注意啊,同样是血淋淋的教训

Posted by 120106701 at 2016-04-21 23:05:37 on Problem 3294
下午五个小时调试...都把原数据调出来了
http://acm.student.cs.uwaterloo.ca/~acm00/060930/data/  (C.1.dat和C.1.diff)

有一点会re,在连接不同串要加不同的标示之后,如果是用z以后的字符,由str[]的长串传递成数组时不要直接减,ascii的标准表里只到127,也就是说如果‘z’+100的字符会变成乱七八糟,传递成数字时也会出现负数,之后导致数组越界,re

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