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 listJul 14, 2026 02:10Kevin HeaveyKevin HeaveyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 16, 2026 08:05wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2026 08:05044,472,90233,469,0001,283,0002,117,632expected "99999998107801280 ", got "99999952774467992"
2Jul 16, 2026 08:05044,509,09833,552,0001,279,0002,117,632expected "99999999403459553 ", got "99999954070126265"
3Jul 16, 2026 08:05044,301,12033,358,0001,273,0002,117,632expected "99999998740714871 ", got "99999953407381583"
4Jul 14, 2026 02:113,68040,314,89529,522,0001,026,0002,117,632
5Jul 14, 2026 02:113,68740,172,27129,581,0001,026,0002,117,632
6Jul 14, 2026 02:113,69040,314,61429,607,0001,028,0002,117,632
7Jul 14, 2026 02:113,69340,310,70129,635,0001,023,0002,117,632
8Jul 14, 2026 02:113,69340,279,33329,632,0001,025,0002,117,632
9Jul 14, 2026 02:113,69740,795,68429,668,0001,024,0002,117,632
10Jul 14, 2026 02:113,78941,180,18930,412,0001,040,0002,117,632
11Jul 14, 2026 02:113,79541,204,68030,408,0001,093,0002,117,632
12Jul 14, 2026 02:113,80441,260,26930,533,0001,048,0002,117,632