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 yedeming at 2010-03-27 17:25:37 on Problem 1117
1000000000
13
905000000 + 95000000 = 1000000000
909050000 + 90950000 = 1000000000
909090500 + 90909500 = 1000000000
909090905 + 90909095 = 1000000000
909090910 + 90909090 = 1000000000
909090950 + 90909050 = 1000000000
909091000 + 90909000 = 1000000000
909095000 + 90905000 = 1000000000
909100000 + 90900000 = 1000000000
909500000 + 90500000 = 1000000000
910000000 + 90000000 = 1000000000
950000000 + 50000000 = 1000000000
1000000000 + 000000000 = 1000000000
仔细看好最后一个输出,我只输出了2个0,而且数组是0..10的,10^9有10位数,运算时+1就是11位了

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