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 16, 2026 11:51Aleksei ShahoikaAleksei ShahoikaError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2026 11:5206,535,117,1426,463,803,00061,036,0002,113,536expected "53686618298758127 ", got ""
2May 16, 2026 11:5206,522,483,1246,451,395,00062,067,0002,113,536expected "53684555563973775 ", got ""
3May 16, 2026 11:5206,521,537,0946,450,039,00062,119,0002,113,536expected "53689347581848318 ", got ""