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 listFeb 19, 2026 21:05lipapipalipapipaScore: 5,889Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2026 21:055,85377,770,69347,572,0001,012,0002,355,200
2Feb 19, 2026 21:055,88480,715,86445,848,0002,990,0002,371,584
3Feb 19, 2026 21:055,88871,001,44645,880,0002,992,0002,482,176
4Feb 19, 2026 21:055,88976,124,36045,887,0002,992,0002,289,664
5Feb 19, 2026 21:055,91674,564,68646,093,0003,006,0002,326,528
6Feb 19, 2026 21:055,92971,441,01346,200,0003,013,0002,383,872