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 23:09olliecrowolliecrowError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:10Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:10047,066,20636,540,0001,024,0002,113,536expected "74600294196621100 ", got "53516786449942828 "
2Jul 7, 2026 05:10047,844,03137,362,0001,025,0002,113,536expected "74600294196621100 ", got "53560324113439788 "
3Jul 7, 2026 05:10048,554,76336,535,0001,029,0002,113,536expected "74600294196621100 ", got "53516257973914924 "
4Mar 9, 2026 03:155,24569,321,94242,521,0001,012,0002,404,352
5Mar 9, 2026 03:155,24973,647,82541,544,0002,026,0002,306,048
6Mar 9, 2026 03:155,28073,745,02640,837,0002,988,0002,469,888
7Mar 9, 2026 03:155,37867,974,73142,608,0002,028,0002,420,736
8Mar 9, 2026 03:155,37972,676,93039,572,0005,073,0002,342,912
9Mar 9, 2026 03:155,39775,423,11044,796,00002,478,080
10Mar 9, 2026 03:155,39870,973,79843,811,000995,0002,506,752
11Mar 9, 2026 03:155,40068,682,31943,825,000996,0002,281,472
12Mar 9, 2026 03:155,40273,139,78839,854,0004,981,0002,265,088
13Mar 9, 2026 03:155,59969,019,43844,450,0002,020,0002,347,008
14Mar 9, 2026 03:155,60677,393,37445,517,0001,011,0002,502,656
15Mar 9, 2026 03:155,63975,991,46643,816,0002,987,0002,269,184
16Mar 19, 2026 23:095,64380,398,16342,849,0003,986,0002,486,272
17Mar 9, 2026 03:155,69577,449,18045,256,0002,011,0002,306,048
18Mar 19, 2026 23:095,73773,991,60442,550,0005,065,0002,322,432
19Mar 9, 2026 03:155,76173,202,06443,832,0003,984,0002,494,464
20Mar 9, 2026 03:155,76276,833,92246,825,000996,0002,469,888
21Mar 9, 2026 03:155,76473,999,32645,847,0001,993,0002,412,544
22Mar 9, 2026 03:155,76577,423,01142,863,0004,984,0002,461,696
23Mar 19, 2026 23:095,78672,144,01244,024,0004,002,0002,461,696
24Mar 9, 2026 03:155,80677,729,31245,178,0003,011,0002,379,776