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

我的思路

Posted by Lenus at 2010-10-05 01:17:49 on Problem 1503
1.判断结束 s[0] == '0' && s[1] == 0
2.对开头为0的数做预处理
3.add方法将结果全部加上 100 个 9 也不过900
4.fix方法遍历处理进位
5.输入顺序是个问题,我用的是递归
6.按照上面方法 数组开101也ok了
7.按照此方法ac不是0ms...


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