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 listNov 20, 2026 15:16boop34boop34Score: 31,503Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 20, 2026 15:1731,426268,358,836259,692,0001,145,0002,117,632stderr
2Nov 20, 2026 15:1731,443269,014,740259,822,0001,161,0002,117,632stderr
3Nov 20, 2026 15:1731,480268,828,312260,162,0001,125,0002,117,632stderr
4Nov 20, 2026 15:1731,498268,961,640260,287,0001,151,0002,117,632stderr
5Nov 20, 2026 15:1731,503268,912,724260,317,0001,161,0002,117,632stderr
6Nov 20, 2026 15:1731,535269,303,737260,588,0001,155,0002,117,632stderr
7Nov 20, 2026 15:1731,537269,346,994260,609,0001,156,0002,117,632stderr
8Nov 20, 2026 15:1731,637270,111,067261,477,0001,117,0002,117,632stderr
9Nov 20, 2026 15:1732,362276,138,437267,494,0001,112,0002,117,632stderr