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 listJul 29, 2024 20:23Павел РатмановПавел РатмановScore: 50,837Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 19:4450,776474,148,176421,439,74402,306,048
2Jul 29, 2024 20:2350,805481,160,807421,678,09602,183,168
3Jul 29, 2024 19:4450,817483,120,556421,785,19102,179,072
4Jul 29, 2024 19:4450,837480,051,729421,943,71702,179,072
5Jul 29, 2024 20:2350,861479,313,110422,147,00802,187,264
6Jul 29, 2024 20:2350,881486,720,291422,312,11702,170,880