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 listMay 4, 2026 07:42limanjun99limanjun99Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 4, 2026 07:42062,595,67239,281,0002,795,000397,312No answer to stdout. Died or killed?
2May 4, 2026 07:425,12060,679,97939,447,0003,054,0002,506,752
3May 4, 2026 07:425,17061,850,18139,658,0003,260,0002,510,848
4May 4, 2026 07:425,18659,996,68939,517,0003,529,0002,510,848