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 listApr 13, 2026 18:55Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 23:55Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 23:55041,995,83232,992,0001,123,0002,117,632expected "74600294196621100 ", got "17101192389373740 "
2Jul 6, 2026 23:55043,335,46933,062,0001,154,0002,117,632expected "74600294196621100 ", got "17101192389373740 "
3Jul 6, 2026 23:55042,873,04733,025,0001,134,0002,117,632expected "74600294196621100 ", got "17101192389373740 "
4Apr 13, 2026 18:554,29861,839,81034,657,0001,019,0002,273,280
5Apr 13, 2026 18:554,31763,679,28233,843,0001,990,0002,535,424
6Apr 13, 2026 18:554,31860,642,57534,846,000995,0002,535,424