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 26, 2026 16:11wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:35Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:35035,848,50926,799,0001,007,0002,113,536expected "74600294196621100 ", got "74534751472679309 "
2Jul 6, 2026 15:35035,833,12626,833,0001,002,0002,113,536expected "74600294196621100 ", got "74534750959954409 "
3Jul 6, 2026 15:35037,466,55428,527,0001,015,0002,113,536expected "74600294196621100 ", got "74535197523111120 "
4Apr 26, 2026 16:123,41247,872,77627,316,0001,011,0002,326,528
5Apr 26, 2026 16:123,41448,085,26627,331,0001,012,0002,482,176
6Apr 26, 2026 16:123,43645,973,85027,506,0001,018,0002,322,432
7Apr 26, 2026 16:123,44944,130,07627,608,0001,022,0002,330,624
8Apr 26, 2026 16:123,45144,373,47127,625,0001,023,0002,490,368
9Apr 26, 2026 16:123,45746,474,03827,673,0001,024,0002,490,368
10Apr 26, 2026 16:123,46241,759,67327,747,000990,0002,555,904
11Apr 26, 2026 16:123,57243,233,06428,631,0001,022,0002,490,368
12Apr 26, 2026 16:123,58442,965,89327,770,0001,983,0002,490,368