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 19, 2026 22:46olliecrowolliecrowScore: 5,400Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 9, 2026 02:415,21266,267,73842,251,0001,005,0002,371,584
2Mar 9, 2026 02:415,22567,593,04739,333,0004,034,0002,363,392
3Mar 9, 2026 02:415,23368,163,92038,387,0005,051,0002,371,584
4Mar 9, 2026 02:415,28975,406,16341,901,0001,995,0002,461,696
5Mar 9, 2026 02:415,29370,756,18538,939,0004,992,0002,342,912
6Mar 9, 2026 02:415,36875,669,80043,543,0001,012,0002,379,776
7Mar 9, 2026 02:415,39970,480,00543,818,000995,0002,412,544
8Mar 9, 2026 02:415,40069,301,14742,832,0001,992,0002,301,952
9Mar 9, 2026 02:415,44569,788,81444,186,0001,004,0002,490,368
10Mar 9, 2026 02:415,60373,754,47042,461,0004,043,0002,301,952
11Mar 19, 2026 22:465,61174,479,80642,523,0004,049,0002,281,472
12Mar 9, 2026 02:415,64071,784,15545,818,000996,0002,498,560
13Mar 9, 2026 02:415,70770,629,71544,343,0003,023,0002,506,752
14Mar 19, 2026 22:465,72676,282,62145,504,0002,022,0002,269,184
15Mar 19, 2026 22:465,77072,918,53243,902,0003,991,0002,490,368