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 listAug 8, 2025 19:51Ashish AhujaAshish AhujaScore: 2,688,797Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2025 19:512,679,01228,137,999,02020,265,391,0001,970,412,0002,486,272
2Aug 8, 2025 19:512,688,79728,247,020,78220,288,471,0002,028,547,0002,342,912
3Aug 8, 2025 19:512,690,84528,186,963,96420,292,169,0002,041,847,0002,523,136