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 18:00olliecrowolliecrowScore: 7,062Success
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 18:006,64880,604,11852,168,0003,009,0002,420,736
2Jan 31, 2026 18:006,65479,387,12154,222,0001,004,0002,367,488
3Jan 31, 2026 18:006,78880,615,62252,318,0004,024,0002,457,600
4Jan 31, 2026 18:007,06286,838,77657,605,0001,010,0002,523,136
5Jan 31, 2026 18:007,08192,199,37256,779,0001,992,0002,387,968
6Jan 31, 2026 18:007,08979,416,52155,847,0002,991,0002,338,816