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 10:44matsuoka-601matsuoka-601Score: 7,746Success
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 10:447,478122,130,84762,063,82402,236,416
2Nov 10, 2023 10:447,508122,560,49762,319,11302,240,512
3Nov 10, 2023 10:447,534130,176,48662,529,88402,240,512
4Nov 10, 2023 10:447,536119,916,55662,552,76002,244,608
5Nov 10, 2023 10:447,554125,874,26862,694,75302,240,512
6Nov 10, 2023 10:447,56786,197,42460,809,0001,993,0002,490,368
7Nov 10, 2023 10:447,574126,727,10662,862,72802,248,704
8Nov 10, 2023 10:447,68690,474,95862,801,000996,0002,482,176
9Nov 10, 2023 10:447,73189,135,99063,166,0001,002,0002,523,136
10Nov 10, 2023 10:447,74685,939,32062,286,0002,009,0002,523,136
11Nov 10, 2023 10:447,74787,518,23562,288,0002,009,0002,478,080
12Nov 10, 2023 10:447,77886,515,54363,551,0001,008,0002,523,136
13Nov 10, 2023 10:447,78392,579,93263,592,0001,009,0002,494,464
14Nov 10, 2023 10:447,80690,387,13562,796,0001,993,0002,523,136
15Nov 10, 2023 10:447,80988,655,83962,822,0001,994,0002,523,136
16Nov 10, 2023 10:447,82289,265,77462,923,0001,997,0002,482,176
17Nov 10, 2023 10:447,83486,598,89063,022,0002,000,0002,494,464
18Nov 10, 2023 10:447,89388,036,08664,507,0001,007,0002,301,952