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 10, 2026 16:56caandocaandoScore: 5,577Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 10, 2026 16:565,23274,498,06642,413,0001,009,0002,285,568
2Mar 10, 2026 16:565,27871,971,79742,811,000995,0002,285,568
3Mar 10, 2026 16:565,28272,036,76241,852,0001,992,0002,285,568
4Mar 10, 2026 16:565,57767,742,03845,287,0001,006,0002,514,944
5Mar 10, 2026 16:565,58273,706,01344,313,0002,014,0002,285,568
6Mar 10, 2026 16:565,59967,522,79045,464,0001,010,0002,285,568