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 18, 2025 13:37Ashish AhujaAshish AhujaScore: 11,033Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 18, 2025 13:3710,921115,265,90382,675,0007,968,0002,539,520
2Aug 18, 2025 13:3710,944119,296,70384,848,0005,989,0002,273,280
3Aug 18, 2025 13:3710,966115,083,87186,016,0005,000,0002,367,488
4Aug 18, 2025 13:3711,033128,377,17186,601,0004,977,0002,449,408
5Aug 18, 2025 13:3711,071116,218,30182,904,0008,989,0002,281,472
6Aug 18, 2025 13:3711,165122,567,17486,689,0005,978,0002,359,296