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 listJun 5, 2026 09:09chereshnya123chereshnya123Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2026 09:090564,425,261496,180,00059,115,0002,113,536expected "53689086067841252 ", got "0 "
2Jun 5, 2026 09:090564,230,513496,383,00058,697,0002,113,536expected "53681266785622726 ", got "0 "
3Jun 5, 2026 09:090564,235,289496,212,00059,054,0002,113,536expected "53687355398646841 ", got "0 "