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 12, 2026 19:44Daniel MastalerzDaniel MastalerzScore: 8,315Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 12, 2026 19:448,13489,352,10666,502,0001,007,0002,285,568
2Mar 12, 2026 19:448,15095,943,22566,636,0001,009,0002,285,568
3Mar 12, 2026 19:448,25490,445,16067,503,0001,007,0002,260,992
4Mar 12, 2026 19:448,31595,399,00567,017,0002,000,0002,285,568
5Mar 12, 2026 19:448,31595,501,52467,016,0002,000,0002,265,088
6Mar 12, 2026 19:448,41195,732,46067,819,0001,994,0002,260,992