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 1, 2026 21:04wnwnScore: 4,404Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 1, 2026 21:044,34557,472,03534,064,0002,003,0002,498,560
2Mar 1, 2026 21:044,35860,517,53734,161,0002,009,0002,277,376
3Mar 1, 2026 21:044,36656,160,19235,233,0001,006,0002,494,464
4Mar 1, 2026 21:044,37757,498,67635,322,0001,009,0002,277,376
5Mar 1, 2026 21:054,38058,538,68935,347,0001,009,0002,498,560
6Mar 1, 2026 21:044,39756,696,90835,484,0001,013,0002,535,424
7Mar 1, 2026 21:044,40158,322,32735,514,0001,014,0002,531,328
8Mar 1, 2026 21:054,40464,232,43435,542,0001,015,0002,277,376
9Mar 1, 2026 21:044,40555,732,85035,543,0001,015,0002,490,368
10Mar 1, 2026 21:044,40760,477,95935,566,0001,016,0002,531,328
11Mar 1, 2026 21:054,40766,282,48635,561,0001,016,0002,273,280
12Mar 1, 2026 21:044,40861,012,90135,573,0001,016,0002,277,376
13Mar 1, 2026 21:044,43764,440,13734,838,0001,990,0002,277,376
14Mar 1, 2026 21:044,44257,853,99934,878,0001,993,0002,277,376
15Mar 1, 2026 21:044,46659,839,70035,064,0002,003,0002,502,656