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 listOct 23, 2025 20:21caandocaandoScore: 6,266Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 23, 2025 20:216,14880,254,15849,026,0002,001,0002,269,184
2Oct 23, 2025 20:216,19972,417,51649,437,0002,017,0002,285,568
3Oct 23, 2025 20:216,24078,092,16250,798,000996,0002,277,376
4Oct 23, 2025 20:216,26673,413,09250,006,0002,000,0002,519,040
5Oct 23, 2025 20:216,27674,330,27350,086,0002,003,0002,383,872
6Oct 23, 2025 20:216,28075,848,46451,119,0001,002,0002,285,568