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

一直WA,调试了两个小时,终于解决了,用二维字符数组保存dict的注意一点

Posted by Kasulle at 2012-09-04 10:26:25 on Problem 1035
数组要开到 char dict[10001][16], 最后一个是用来存放“#”的,如果只有10000读取“#”会覆盖后面的数据,万一正好是有用的数据就悲剧了 :(

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