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 listNov 10, 2023 09:26matsuoka-601matsuoka-601Score: 10,517Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2023 09:2610,009149,658,31583,072,85902,277,376
2Nov 10, 2023 09:2610,053144,932,37683,436,99602,285,568
3Nov 10, 2023 09:2610,063148,745,55583,525,13202,293,760
4Nov 10, 2023 09:2610,502110,415,28485,161,0002,003,0002,285,568
5Nov 10, 2023 09:2610,505111,585,53085,189,0002,004,0002,269,184
6Nov 10, 2023 09:2610,506114,587,82086,198,0001,002,0002,265,088
7Nov 10, 2023 09:2610,511110,706,07985,240,0002,005,0002,285,568
8Nov 10, 2023 09:2610,517111,604,56886,292,0001,003,0002,265,088
9Nov 10, 2023 09:2610,518111,426,64786,294,0001,003,0002,289,664
10Nov 10, 2023 09:2610,525114,644,36486,350,0001,004,0002,285,568
11Nov 10, 2023 09:2610,534113,291,35587,431,00002,285,568
12Nov 10, 2023 09:2610,537108,903,22586,451,0001,005,0002,285,568
13Nov 10, 2023 09:2610,550112,765,82486,559,0001,006,0002,285,568
14Nov 10, 2023 09:2610,592119,138,70285,916,0001,998,0002,285,568
15Nov 10, 2023 09:2610,942119,144,26388,820,0001,995,0002,265,088