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 listMay 29, 2024 15:56GraceGraceScore: 6,489Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2024 15:566,21881,771,84749,583,0002,023,0002,424,832
2May 29, 2024 15:566,25178,590,96647,896,0003,991,0002,437,120
3May 29, 2024 15:566,26574,504,99548,002,0004,000,0002,289,664
4May 29, 2024 15:566,27280,759,79748,057,0004,004,0002,289,664
5May 29, 2024 15:566,29876,080,90748,251,0004,020,0002,428,928
6May 29, 2024 15:566,36386,375,60949,826,0002,989,0002,424,832
7May 29, 2024 15:566,36579,129,28549,843,0002,990,0002,281,472
8May 29, 2024 15:566,37478,407,45048,910,0003,992,0002,289,664
9May 29, 2024 15:566,37476,286,30348,915,0003,993,0002,523,136
10May 29, 2024 15:566,38579,796,21149,995,0002,999,0002,428,928
11May 29, 2024 15:566,39280,085,49749,049,0004,004,0002,289,664
12May 29, 2024 15:566,39281,432,98450,052,0003,003,0002,457,600
13May 29, 2024 15:566,39780,395,64950,091,0003,005,0002,433,024
14May 29, 2024 15:566,39883,391,18853,100,00002,433,024
15May 29, 2024 15:566,40175,379,25949,119,0004,009,0002,289,664
16May 29, 2024 15:566,40680,458,59650,160,0003,009,0002,433,024
17May 29, 2024 15:566,41777,994,21449,241,0004,019,0002,383,872
18May 29, 2024 15:566,43377,702,66651,381,0002,014,0002,326,528
19May 29, 2024 15:566,43475,860,37350,380,0003,022,0002,326,528
20May 29, 2024 15:566,44181,625,98249,424,0004,034,0002,289,664
21May 29, 2024 15:566,44675,877,95650,470,0003,028,0002,424,832
22May 29, 2024 15:566,48178,873,17149,811,0003,984,0002,408,448
23May 29, 2024 15:566,48974,964,42849,868,0003,989,0002,437,120
24May 29, 2024 15:566,79983,423,85852,404,0004,031,0002,355,200
25May 29, 2024 15:567,027112,610,04558,320,84602,183,168
26May 29, 2024 15:567,031117,580,75758,356,14202,183,168
27May 29, 2024 15:567,071137,657,63458,690,11302,306,048
28May 29, 2024 15:567,097122,495,54258,907,89502,191,360
29May 29, 2024 15:567,098135,610,74258,913,05502,310,144
30May 29, 2024 15:567,104118,296,79358,961,05802,183,168
31May 29, 2024 15:568,06990,432,67362,977,0003,998,0002,433,024
32May 29, 2024 15:568,08294,697,65663,076,0004,004,0002,449,408
33May 29, 2024 15:568,10294,072,00063,234,0004,014,0002,445,312
34May 29, 2024 15:568,12595,921,61963,469,0003,966,0002,514,944
35May 29, 2024 15:568,12693,425,53864,424,0003,019,0002,424,832
36May 29, 2024 15:568,13899,306,30364,519,0003,024,0002,424,832
37May 29, 2024 15:568,14093,410,75063,529,0004,033,0002,428,928
38May 29, 2024 15:568,146101,016,40564,582,0003,027,0002,277,376
39May 29, 2024 15:568,164101,290,16763,778,0003,986,0002,449,408
40May 29, 2024 15:568,16996,243,07064,808,0002,991,0002,424,832
41May 29, 2024 15:568,18099,661,88365,901,0001,997,0002,428,928
42May 29, 2024 15:568,45597,743,81766,166,0004,010,0002,273,280
43May 29, 2024 15:568,741126,800,71972,548,24802,306,048
44May 29, 2024 15:568,778142,995,60372,855,01302,310,144
45May 29, 2024 15:568,805146,820,37873,083,86902,187,264