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 listSep 26, 2025 19:26sheryllynn24sheryllynn24Score: 6,375Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2025 19:266,33878,323,90551,598,0001,011,0002,285,568
2Sep 26, 2025 19:326,34079,159,52151,607,0001,011,0002,260,992
3Sep 26, 2025 19:266,34279,386,45051,624,0001,012,0002,285,568
4Sep 26, 2025 19:266,34679,970,77852,671,00002,285,568
5Sep 26, 2025 19:326,34680,134,51051,659,0001,012,0002,260,992
6Sep 26, 2025 19:266,35279,285,46751,707,0001,013,0002,265,088
7Sep 26, 2025 19:266,36476,861,63550,827,0001,993,0002,285,568
8Sep 26, 2025 19:266,37078,489,64251,873,000997,0002,260,992
9Sep 26, 2025 19:266,37080,419,90852,872,00002,285,568
10Sep 26, 2025 19:326,37580,881,99850,917,0001,996,0002,379,776
11Sep 26, 2025 19:266,38177,910,64350,965,0001,998,0002,338,816
12Sep 26, 2025 19:266,39078,564,22851,039,0002,001,0002,285,568
13Sep 26, 2025 19:266,48680,129,95751,842,0001,993,0002,285,568
14Sep 26, 2025 19:326,48978,819,59151,864,0001,994,0002,281,472
15Sep 26, 2025 19:326,49079,927,51951,874,0001,995,0002,285,568
16Sep 26, 2025 19:266,49082,384,57552,870,000997,0002,523,136
17Sep 26, 2025 19:326,49281,451,80151,888,0001,995,0002,285,568
18Sep 26, 2025 19:266,49479,561,43552,903,000998,0002,285,568