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:开数组只开到100就WA,非得开到120以上才行~不懂~求解释。。。

Posted by lianai911 at 2013-11-25 22:56:42 on Problem 1503
In Reply To:开数组只开到100就WA,非得开到120以上才行~不懂~求解释。。。 Posted by:ljp at 2011-12-09 22:23:26
> 开数组只开到100就WA,非得开到120以上才行~不懂~求解释。。。
因为1个100位数最大为99999…… 也就是再+1就是101位数  总共有100个数相加的话
累加和就是104位  所以数组要开到104以上

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