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

输出的新字符串 最好居然忘了加 /0

Posted by zhenglie110 at 2015-03-10 16:08:51 on Problem 1256
这个地方居然出错了,我还以为算法有什么问题呢,弄了好久,
新malloc的字符串只把字符弄进来了,结果最好没有结束符,输出最好出现了乱码。

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