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 listSep 27, 2025 07:16sheryllynn24sheryllynn24Score: 6,367Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 27, 2025 07:166,23977,077,60250,788,000995,0002,367,488
2Sep 27, 2025 07:166,27378,031,43050,064,0002,002,0002,523,136
3Sep 27, 2025 07:166,27981,319,36951,111,0001,002,0002,523,136
4Sep 27, 2025 07:166,36777,456,93950,850,0001,994,0002,289,664
5Sep 27, 2025 07:166,37684,150,04050,924,0001,997,0002,527,232
6Sep 27, 2025 07:166,38480,911,93450,990,0001,999,0002,289,664