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:09olliecrowolliecrowScore: 5,606Success
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 03:155,24569,321,94242,521,0001,012,0002,404,352
2Mar 9, 2026 03:155,24973,647,82541,544,0002,026,0002,306,048
3Mar 9, 2026 03:155,28073,745,02640,837,0002,988,0002,469,888
4Mar 9, 2026 03:155,37867,974,73142,608,0002,028,0002,420,736
5Mar 9, 2026 03:155,37972,676,93039,572,0005,073,0002,342,912
6Mar 9, 2026 03:155,39775,423,11044,796,00002,478,080
7Mar 9, 2026 03:155,39870,973,79843,811,000995,0002,506,752
8Mar 9, 2026 03:155,40068,682,31943,825,000996,0002,281,472
9Mar 9, 2026 03:155,40273,139,78839,854,0004,981,0002,265,088
10Mar 9, 2026 03:155,59969,019,43844,450,0002,020,0002,347,008
11Mar 9, 2026 03:155,60677,393,37445,517,0001,011,0002,502,656
12Mar 9, 2026 03:155,63975,991,46643,816,0002,987,0002,269,184
13Mar 19, 2026 23:095,64380,398,16342,849,0003,986,0002,486,272
14Mar 9, 2026 03:155,69577,449,18045,256,0002,011,0002,306,048
15Mar 19, 2026 23:095,73773,991,60442,550,0005,065,0002,322,432
16Mar 9, 2026 03:155,76173,202,06443,832,0003,984,0002,494,464
17Mar 9, 2026 03:155,76276,833,92246,825,000996,0002,469,888
18Mar 9, 2026 03:155,76473,999,32645,847,0001,993,0002,412,544
19Mar 9, 2026 03:155,76577,423,01142,863,0004,984,0002,461,696
20Mar 19, 2026 23:095,78672,144,01244,024,0004,002,0002,461,696
21Mar 9, 2026 03:155,80677,729,31245,178,0003,011,0002,379,776