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 22, 2025 13:53Ashish AhujaAshish AhujaScore: 11,661Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2025 13:5311,483123,574,39876,447,00018,863,0002,498,560
2Aug 22, 2025 13:5311,508126,126,07776,610,00018,903,0002,502,656
3Aug 22, 2025 13:5311,550124,976,94179,889,00015,977,0002,392,064
4Aug 22, 2025 13:5311,661121,969,95277,829,00018,958,0002,453,504
5Aug 22, 2025 13:5311,730124,188,11775,500,00021,855,0002,502,656
6Aug 22, 2025 13:5311,736123,678,22682,502,00014,910,0002,506,752