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 listMar 4, 2026 15:53caandocaandoScore: 5,327Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 4, 2026 15:535,22366,576,17942,339,0001,008,0002,514,944
2Mar 4, 2026 15:535,23362,098,40039,395,0004,040,0002,281,472
3Mar 4, 2026 15:535,23671,015,28642,447,0001,010,0002,277,376
4Mar 4, 2026 15:535,32769,013,02042,202,0002,009,0002,273,280
5Mar 4, 2026 15:535,34067,231,27142,311,0002,014,0002,363,392
6Mar 4, 2026 15:535,34270,059,31642,320,0002,015,0002,277,376