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 2, 2025 21:04Jack FrigaardJack FrigaardScore: 4,838Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2025 21:044,74362,438,73139,367,00002,519,040
2Aug 2, 2025 21:044,75262,573,27737,423,0002,022,0002,449,408
3Aug 2, 2025 21:044,75765,966,72437,462,0002,025,0002,445,312
4Aug 2, 2025 21:044,83858,804,40538,148,0002,007,0002,514,944
5Aug 2, 2025 21:044,84964,971,00137,228,0003,018,0002,441,216
6Aug 2, 2025 21:044,85765,465,68239,306,0001,007,0002,453,504