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 18:27GraceGraceScore: 6,379Success
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 18:276,34079,901,49252,621,00002,396,160
2May 29, 2024 18:276,35077,783,49152,705,00002,506,752
3May 29, 2024 18:276,36177,356,88750,807,0001,992,0002,396,160
4May 29, 2024 18:276,36377,260,93450,822,0001,993,0002,519,040
5May 29, 2024 18:276,36480,048,45551,826,000996,0002,519,040
6May 29, 2024 18:276,36582,817,12850,840,0001,993,0002,392,064
7May 29, 2024 18:276,36783,565,10251,845,000997,0002,273,280
8May 29, 2024 18:276,36776,125,06651,847,000997,0002,392,064
9May 29, 2024 18:276,36880,028,96250,863,0001,994,0002,400,256
10May 29, 2024 18:276,36880,690,00651,859,000997,0002,273,280
11May 29, 2024 18:276,37175,562,98450,886,0001,995,0002,273,280
12May 29, 2024 18:276,37180,195,26050,883,0001,995,0002,396,160
13May 29, 2024 18:276,37276,238,46050,891,0001,995,0002,273,280
14May 29, 2024 18:276,37382,544,21750,901,0001,996,0002,273,280
15May 29, 2024 18:276,37384,010,51150,904,0001,996,0002,408,448
16May 29, 2024 18:276,37381,006,18850,898,0001,996,0002,273,280
17May 29, 2024 18:276,37674,587,17151,923,000998,0002,396,160
18May 29, 2024 18:276,37784,749,50451,930,000998,0002,400,256
19May 29, 2024 18:276,37778,878,08251,929,000998,0002,273,280
20May 29, 2024 18:276,37774,718,04751,932,000998,0002,273,280
21May 29, 2024 18:276,37880,163,84350,937,0001,997,0002,392,064
22May 29, 2024 18:276,37877,994,14250,938,0001,997,0002,273,280
23May 29, 2024 18:276,37973,676,02150,950,0001,998,0002,273,280
24May 29, 2024 18:276,38176,180,80250,965,0001,998,0002,273,280
25May 29, 2024 18:276,38275,915,33451,973,000999,0002,519,040
26May 29, 2024 18:276,38277,325,16450,974,0001,998,0002,400,256
27May 29, 2024 18:276,38378,833,47350,977,0001,999,0002,392,064
28May 29, 2024 18:276,38581,217,96450,999,0001,999,0002,400,256
29May 29, 2024 18:276,38574,286,91850,994,0001,999,0002,396,160
30May 29, 2024 18:276,38675,766,93351,000,0002,000,0002,273,280
31May 29, 2024 18:276,38778,726,80751,009,0002,000,0002,273,280
32May 29, 2024 18:276,38977,251,39952,026,0001,000,0002,273,280
33May 29, 2024 18:276,38979,038,00652,029,0001,000,0002,400,256
34May 29, 2024 18:276,39377,036,18551,063,0002,002,0002,273,280
35May 29, 2024 18:276,39581,288,19152,075,0001,001,0002,273,280
36May 29, 2024 18:276,39777,685,05952,092,0001,001,0002,494,464
37May 29, 2024 18:276,518112,549,09654,097,63402,281,472
38May 29, 2024 18:276,521113,137,30654,128,33902,285,568
39May 29, 2024 18:276,522106,537,11354,133,80702,293,760
40May 29, 2024 18:276,523113,824,36054,140,31102,293,760
41May 29, 2024 18:276,527118,995,65654,172,68602,289,664
42May 29, 2024 18:276,529113,878,28254,189,05202,273,280
43May 29, 2024 18:276,532114,196,11954,211,73602,293,760
44May 29, 2024 18:276,532112,779,93454,215,47902,293,760
45May 29, 2024 18:276,550119,726,95754,365,82402,293,760