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 listJun 23, 2025 22:00Valentin KofmanValentin KofmanScore: 9,049Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 23, 2025 22:006,63776,999,32353,082,0002,003,0002,289,664
2Jun 23, 2025 22:006,65581,343,94453,225,0002,008,0002,289,664
3Jun 23, 2025 22:006,76079,670,70455,105,0001,001,0002,289,664
4Jun 23, 2025 22:009,04998,125,42273,103,0002,002,0002,289,664
5Jun 23, 2025 22:009,055101,118,45873,153,0002,004,0002,289,664
6Jun 23, 2025 22:009,113104,073,56374,627,0001,008,0002,289,664