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 21, 2026 12:41olliecrowolliecrowScore: 6,158Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 21, 2026 12:416,07469,276,75648,397,0002,016,0002,502,656
2Mar 21, 2026 12:416,07670,857,19348,412,0002,017,0002,433,024
3Mar 21, 2026 12:416,09075,629,66349,534,0001,010,0002,322,432
4Mar 21, 2026 12:426,12475,573,62348,840,0001,993,0002,465,792
5Mar 21, 2026 12:416,13473,493,03847,915,0002,994,0002,490,368
6Mar 21, 2026 12:426,14772,550,35348,020,0003,001,0002,269,184
7Mar 21, 2026 12:396,15375,511,38546,063,0005,006,0002,375,680
8Mar 21, 2026 12:396,15882,589,71948,103,0003,006,0002,392,064
9Mar 21, 2026 12:426,16578,112,21449,161,0002,006,0002,379,776
10Mar 21, 2026 12:396,17776,538,18548,256,0003,016,0002,469,888
11Mar 21, 2026 12:416,19076,154,37950,368,0001,007,0002,494,464
12Mar 21, 2026 12:416,21580,612,79947,542,0004,046,0002,301,952
13Mar 21, 2026 12:416,26073,969,12749,959,0001,998,0002,510,848
14Mar 21, 2026 12:416,44091,996,91049,419,0004,034,0002,416,640
15Mar 21, 2026 12:416,54579,525,87751,306,0003,018,0002,461,696