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 listDec 29, 2025 06:07Josu San MartinJosu San MartinScore: 38,912Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 06:0738,887350,054,527263,806,00058,956,0002,404,352
2Dec 29, 2025 06:0738,912349,118,561264,976,00057,994,0002,400,256
3Dec 29, 2025 06:0739,087345,126,806261,341,00063,082,0002,400,256