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:Runtime Error (怎么可能???难道有循环之后长度变化的情况!!!!??????????)

Posted by acidsweet at 2012-12-20 17:38:55 on Problem 1016
In Reply To:Runtime Error (怎么可能???难道有循环之后长度变化的情况!!!!??????????) Posted by:wcfairytale at 2007-02-15 15:30:33
很简单的问题,我下午找了很久才找到,你用80个9试试看能不能过.
关键是你:
s[L][M++]=num[K]+'0';
这句,num[K]要是大于10次的话....你认为num[K]+'0'是个char是不是....

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