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 listJan 31, 2026 11:51olliecrowolliecrowScore: 8,146Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 31, 2026 11:516,74785,809,04451,001,0005,000,0002,478,080
2Jan 31, 2026 11:516,86588,926,59951,980,0004,998,0002,453,504
3Jan 31, 2026 11:516,88084,317,72052,096,0005,009,0002,334,720
4Jan 31, 2026 11:518,14699,034,13462,644,0004,971,0002,453,504
5Jan 31, 2026 11:518,23398,774,49959,422,0008,913,0002,306,048
6Jan 31, 2026 11:518,45696,712,83967,176,0003,007,0002,510,848