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

数组开到200?每个数相加都可能进1位?

Posted by jandy123 at 2009-07-06 10:22:58 on Problem 1503
In Reply To:千万别以if(s[0]=='0') break 结束,我就因为这,贡献N个WA 另外数组要开到200,因为每一个数组相加都可能要进一位,第一个字符串为0时,也要考虑 Posted by:zhouxiaozi at 2009-04-06 12:57:18
100个100位数相加顶多是102位。。这里用的是100+2不是100+100。。。

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