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:04Ashish AhujaAshish AhujaScore: 12,244Success
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:0412,183120,939,57796,111,0005,005,0002,535,424
2Aug 18, 2025 13:0412,244132,926,34993,657,0007,970,0002,379,776
3Aug 18, 2025 13:0412,470126,724,37798,526,0004,976,0002,277,376