Parse integers Sergey Svistunov

Compute the sum of integers read from STDIN as fast as possible.

Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].

629871117
2024562523
1372689083
1021777120
2111176472

Output: The uint64 sum of all numbers, printed as a decimal string.

Note: Integer overflow is expected – use a 64-bit accumulator.

Back to listJun 30, 2026 10:43Adam FolwarcznyAdam FolwarcznyError
Source Code

Source code access is restricted. Log in to request access.

Challenge History
DateChallengerCostTypeStatus
Jul 8, 2026 12:57wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 12:57059,122,20948,797,0002,209,0002,117,632expected "99999998886095172 ", got "86414767452444619 "
2Jul 8, 2026 12:57059,132,90248,836,0002,183,0002,117,632expected "99999998355732061 ", got "86414767421444619 "
3Jul 8, 2026 12:57061,943,23451,667,0002,125,0002,117,632expected "99999999379583517 ", got "86414768446344619 "
4Jun 30, 2026 10:436,13658,970,96448,750,0002,179,0002,117,632
5Jun 30, 2026 10:436,14958,978,79848,887,0002,150,0002,117,632
6Jun 30, 2026 10:436,17859,246,07849,118,0002,161,0002,117,632
7Jun 30, 2026 10:436,18459,257,26049,160,0002,174,0002,117,632
8Jun 30, 2026 10:436,20459,193,63349,324,0002,172,0002,117,632
9Jun 30, 2026 10:436,21159,617,71749,287,0002,269,0002,117,632
10Jun 30, 2026 10:436,22459,683,96949,527,0002,133,0002,117,632
11Jun 30, 2026 10:436,27461,388,34049,822,0002,255,0002,117,632
12Jun 30, 2026 10:436,30260,282,89350,052,0002,258,0002,117,632