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 11, 2025 11:51ndrenndrenScore: 468,729Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2025 11:51462,7313,866,356,3293,773,706,00066,959,0002,285,568
2Aug 11, 2025 11:51468,7293,919,299,6203,821,499,00068,954,0002,281,472
3Aug 11, 2025 11:51485,5794,062,443,5683,970,343,00059,959,0002,359,296