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 listSep 6, 2022 18:25Bernard TeoBernard TeoScore: 6,978Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2022 18:256,96880,994,76155,842,0001,994,0002,273,280
2Sep 6, 2022 18:256,96884,430,29555,838,0001,994,0002,404,352
3Sep 6, 2022 18:256,96984,494,16955,848,0001,994,0002,273,280
4Sep 6, 2022 18:256,96982,582,19556,827,0001,014,0002,273,280
5Sep 6, 2022 18:256,97189,440,00055,862,0001,995,0002,273,280
6Sep 6, 2022 18:256,97183,701,03357,861,00002,273,280
7Sep 6, 2022 18:256,97182,495,35155,868,0001,995,0002,510,848
8Sep 6, 2022 18:256,97283,041,88355,874,0001,995,0002,273,280
9Sep 6, 2022 18:256,97283,973,96156,870,000997,0002,273,280
10Sep 6, 2022 18:256,97287,999,74555,875,0001,995,0002,273,280
11Sep 6, 2022 18:256,97481,586,26055,889,0001,996,0002,273,280
12Sep 6, 2022 18:256,97483,543,69055,887,0001,995,0002,273,280
13Sep 6, 2022 18:256,97491,384,51455,891,0001,996,0002,273,280
14Sep 6, 2022 18:256,97680,074,87155,903,0001,996,0002,396,160
15Sep 6, 2022 18:256,97781,696,87655,912,0001,996,0002,510,848
16Sep 6, 2022 18:256,97880,538,43256,917,000998,0002,404,352
17Sep 6, 2022 18:256,97885,058,57555,921,0001,997,0002,273,280
18Sep 6, 2022 18:256,97981,753,42955,925,0001,997,0002,273,280
19Sep 6, 2022 18:256,98078,148,29256,940,000998,0002,273,280
20Sep 6, 2022 18:256,98083,161,28355,939,0001,997,0002,273,280
21Sep 6, 2022 18:256,98287,670,31555,954,0001,998,0002,404,352
22Sep 6, 2022 18:256,98483,621,80556,971,000999,0002,273,280
23Sep 6, 2022 18:256,98582,205,61256,979,000999,0002,273,280
24Sep 6, 2022 18:256,98692,103,92455,983,0001,999,0002,273,280
25Sep 6, 2022 18:257,980129,343,55766,230,20902,273,280
26Sep 6, 2022 18:258,001130,376,47366,408,09702,273,280
27Sep 6, 2022 18:258,047126,450,06966,790,65002,285,568
28Sep 6, 2022 18:258,061127,552,39166,907,03502,293,760
29Sep 6, 2022 18:258,061134,235,55466,903,62102,285,568
30Sep 6, 2022 18:258,082143,081,88067,078,16002,277,376