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 10, 2025 10:07Павел РатмановПавел РатмановScore: 2,067,236Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 10, 2025 10:072,066,26017,180,304,45517,070,994,00078,967,0002,363,392
2Jun 10, 2025 10:072,067,23617,190,866,26217,083,090,00074,965,0002,277,376
3Jun 10, 2025 10:072,069,49717,206,921,77717,109,849,00066,972,0002,265,088