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 14, 2022 17:06Bernard TeoBernard TeoScore: 7,670Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 14, 2022 17:067,124126,634,49659,129,84602,285,568
2Sep 14, 2022 17:067,128126,136,03459,160,37302,281,472
3Sep 14, 2022 17:067,138123,007,55359,245,76702,285,568
4Sep 14, 2022 17:067,138139,892,96559,244,46902,285,568
5Sep 14, 2022 17:067,140120,601,35459,264,68302,273,280
6Sep 14, 2022 17:067,145134,312,48859,303,49602,273,280
7Sep 14, 2022 17:067,65085,077,98862,487,0001,007,0002,273,280
8Sep 14, 2022 17:067,66093,846,97162,567,0001,009,0002,273,280
9Sep 14, 2022 17:067,66093,523,06562,565,0001,009,0002,400,256
10Sep 14, 2022 17:067,66188,387,19563,590,00002,273,280
11Sep 14, 2022 17:067,66395,440,85362,593,0001,009,0002,273,280
12Sep 14, 2022 17:067,66688,543,90462,619,0001,009,0002,273,280
13Sep 14, 2022 17:067,66790,364,95062,626,0001,010,0002,392,064
14Sep 14, 2022 17:067,66892,452,19362,635,0001,010,0002,519,040
15Sep 14, 2022 17:067,67089,005,64163,658,00002,387,968
16Sep 14, 2022 17:067,67089,604,74962,647,0001,010,0002,400,256
17Sep 14, 2022 17:067,67088,887,04762,649,0001,010,0002,400,256
18Sep 14, 2022 17:067,67196,184,75662,656,0001,010,0002,273,280
19Sep 14, 2022 17:067,67489,737,56161,701,0001,990,0002,396,160
20Sep 14, 2022 17:067,67793,524,51162,727,000995,0002,396,160
21Sep 14, 2022 17:067,68289,948,08562,764,000996,0002,273,280
22Sep 14, 2022 17:067,68692,146,56361,804,0001,993,0002,273,280
23Sep 14, 2022 17:067,68692,199,14061,803,0001,993,0002,273,280
24Sep 14, 2022 17:067,68692,385,37562,796,000996,0002,273,280
25Sep 14, 2022 17:067,68889,742,90761,816,0001,994,0002,400,256
26Sep 14, 2022 17:067,68889,526,00162,813,000997,0002,404,352
27Sep 14, 2022 17:067,68894,818,81662,813,000997,0002,273,280
28Sep 14, 2022 17:067,68894,717,33861,814,0001,994,0002,392,064
29Sep 14, 2022 17:067,69090,647,00862,829,000997,0002,396,160
30Sep 14, 2022 17:067,69586,698,36361,870,0001,995,0002,273,280