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 6, 2023 03:12sliceteamsliceteamScore: 7,743Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2023 03:127,70985,420,65461,986,0001,999,0002,273,280
2Nov 6, 2023 03:127,71986,133,93862,063,0002,002,0002,273,280
3Nov 6, 2023 03:127,72488,818,88562,105,0002,003,0002,404,352
4Nov 6, 2023 03:127,73088,197,14762,151,0002,004,0002,273,280
5Nov 6, 2023 03:127,73687,757,91762,205,0002,006,0002,273,280
6Nov 6, 2023 03:127,73894,171,82263,222,0001,003,0002,408,448
7Nov 6, 2023 03:127,74090,333,68963,238,0001,003,0002,273,280
8Nov 6, 2023 03:127,74389,367,21862,259,0002,008,0002,396,160
9Nov 6, 2023 03:127,75292,519,95163,339,0001,005,0002,273,280
10Nov 6, 2023 03:127,75788,032,07563,375,0001,005,0002,273,280
11Nov 6, 2023 03:127,76989,158,60363,473,0001,007,0002,273,280
12Nov 6, 2023 03:128,01693,955,34066,531,00002,273,280
13Nov 6, 2023 03:128,074134,644,57667,010,61202,277,376
14Nov 6, 2023 03:128,075133,427,13167,019,26502,273,280
15Nov 6, 2023 03:128,080156,623,98167,065,52302,281,472