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 listMay 9, 2026 13:10wnwnError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 9, 2026 13:11049,676,84431,910,0001,067,0002,490,368expected "53681751291850599 ", got "53681753167295760 "
2May 9, 2026 13:113,93449,216,93931,570,0001,086,0002,482,176
3May 9, 2026 13:113,94349,280,07631,573,0001,154,0002,482,176
4May 9, 2026 13:113,94550,864,38031,672,0001,075,0002,486,272
5May 9, 2026 13:113,95648,477,55631,764,0001,076,0002,486,272
6May 9, 2026 13:114,02049,010,74832,251,0001,121,0002,486,272
7May 9, 2026 13:114,03548,544,59432,380,0001,116,0002,486,272
8May 9, 2026 13:114,09448,809,85832,920,0001,064,0002,486,272
9May 9, 2026 13:114,10147,728,86432,973,0001,069,0002,486,272