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 22, 2025 17:17valium007valium007Score: 2,068,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2025 17:172,062,32217,151,749,17417,039,303,00077,969,0002,277,376
2Jun 22, 2025 17:172,067,26317,198,187,64217,084,316,00073,966,0002,265,088
3Jun 22, 2025 17:172,067,37417,188,769,28017,086,233,00072,971,0002,277,376
4Jun 22, 2025 17:172,067,86917,197,190,89817,100,346,00062,968,0002,277,376
5Jun 22, 2025 17:172,068,29917,197,438,19017,098,914,00067,971,0002,277,376
6Jun 22, 2025 17:172,070,22517,215,429,63117,112,909,00069,962,0002,277,376
7Jun 22, 2025 17:172,070,86617,222,348,67917,110,230,00077,960,0002,277,376
8Jun 22, 2025 17:172,071,31017,231,791,38417,133,910,00057,965,0002,289,664
9Jun 22, 2025 17:172,266,47218,843,222,96318,703,765,000107,952,0002,285,568