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 8, 2023 10:49Robert BurkeRobert BurkeScore: 7,599Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 8, 2023 10:497,53587,581,36562,539,00002,277,376
2Nov 8, 2023 10:497,53886,060,59661,555,0001,009,0002,277,376
3Nov 8, 2023 10:497,54590,958,05162,622,00002,437,120
4Nov 8, 2023 10:497,57396,036,50661,862,000997,0002,539,520
5Nov 8, 2023 10:497,57787,760,84161,894,000998,0002,428,928
6Nov 8, 2023 10:497,58686,645,05060,965,0001,998,0002,428,928
7Nov 8, 2023 10:497,59089,605,99761,995,000999,0002,433,024
8Nov 8, 2023 10:497,59989,747,75862,067,0001,001,0002,424,832
9Nov 8, 2023 10:497,59985,431,26362,071,0001,001,0002,277,376
10Nov 8, 2023 10:497,60187,560,07062,089,0001,001,0002,428,928
11Nov 8, 2023 10:497,60183,628,38161,088,0002,002,0002,433,024
12Nov 8, 2023 10:497,62586,314,00263,286,00002,277,376
13Nov 8, 2023 10:497,800123,386,99464,737,02302,174,976
14Nov 8, 2023 10:497,800115,472,42064,738,57502,179,072
15Nov 8, 2023 10:497,842115,867,35765,091,89202,174,976