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 listDec 11, 2023 02:39sliceteamsliceteamScore: 10,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 11, 2023 02:3910,001105,391,36381,011,0002,000,0002,428,928
2Dec 11, 2023 02:3910,369111,023,17384,062,0002,001,0002,449,408
3Dec 11, 2023 02:3910,372112,811,25685,085,0001,001,0002,469,888
4Dec 11, 2023 02:3910,375109,433,82984,108,0002,002,0002,494,464
5Dec 11, 2023 02:3910,380113,415,82585,154,0001,001,0002,445,312
6Dec 11, 2023 02:3910,389113,704,88285,229,0001,002,0002,445,312
7Dec 11, 2023 02:3910,410111,740,07785,401,0001,004,0002,473,984
8Dec 11, 2023 02:3910,457115,551,67884,795,0001,995,0002,428,928
9Dec 11, 2023 02:3910,528111,451,87486,382,0001,004,0002,441,216
10Dec 11, 2023 02:3910,766115,869,95688,353,0001,004,0002,465,792
11Dec 11, 2023 02:3910,830113,075,97287,888,0001,997,0002,457,600
12Dec 11, 2023 02:3910,967156,583,66491,029,90702,256,896
13Dec 11, 2023 02:3911,108153,359,97092,193,09902,240,512
14Dec 11, 2023 02:3911,452160,617,47995,048,95602,265,088
15Dec 11, 2023 02:3911,710124,639,41495,192,0002,004,0002,441,216