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 listJun 7, 2024 12:20GraceGraceScore: 4,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 12:204,20462,799,57831,902,0002,990,0002,392,064
2Jun 7, 2024 12:204,21958,184,51933,014,0002,000,000385,024
3Jun 7, 2024 12:204,22754,655,62033,079,0002,004,0002,482,176
4Jun 7, 2024 12:204,22856,613,26332,083,0003,007,0002,465,792
5Jun 7, 2024 12:204,23160,618,62232,108,0003,010,0002,273,280
6Jun 7, 2024 12:204,24056,380,05333,178,0002,010,0002,486,272
7Jun 7, 2024 12:204,25356,300,18332,277,0003,026,0002,482,176
8Jun 7, 2024 12:204,25762,273,41933,312,0002,018,0002,273,280
9Jun 7, 2024 12:204,25759,082,32033,315,0002,019,0002,273,280
10Jun 7, 2024 12:204,26659,136,77633,387,0002,023,0002,273,280
11Jun 7, 2024 12:204,26657,238,76033,388,0002,023,0002,482,176
12Jun 7, 2024 12:204,26762,997,02532,382,0003,035,0002,478,080
13Jun 7, 2024 12:204,27155,561,96632,410,0003,038,0002,338,816
14Jun 7, 2024 12:204,27759,984,83234,482,0001,014,0002,490,368
15Jun 7, 2024 12:204,27962,431,11933,487,0002,029,0002,273,280
16Jun 7, 2024 12:204,27956,344,14534,504,0001,014,0002,486,272
17Jun 7, 2024 12:204,28353,182,64233,518,0002,031,0002,273,280
18Jun 7, 2024 12:204,29067,900,67034,592,0001,017,0002,510,848
19Jun 7, 2024 12:204,29465,470,38034,623,0001,018,0002,273,280
20Jun 7, 2024 12:204,29565,722,24534,631,0001,018,0002,273,280
21Jun 7, 2024 12:204,29863,519,18233,632,0002,038,0002,273,280
22Jun 7, 2024 12:204,29967,893,97634,660,0001,019,0002,494,464
23Jun 7, 2024 12:204,30063,883,37234,667,0001,019,0002,490,368
24Jun 7, 2024 12:204,31966,129,67532,861,0002,987,0002,490,368
25Jun 7, 2024 12:204,32659,318,18134,907,000997,0002,273,280
26Jun 7, 2024 12:204,32765,811,71933,917,0001,995,0002,273,280
27Jun 7, 2024 12:204,33059,499,52932,947,0002,995,0002,494,464
28Jun 7, 2024 12:204,33658,499,86132,987,0002,998,0002,486,272
29Jun 7, 2024 12:204,34857,440,47234,084,0002,004,0002,347,008
30Jun 7, 2024 12:204,368108,096,70536,256,44202,236,416
31Jun 7, 2024 12:204,39562,645,38935,465,0001,013,0002,490,368
32Jun 7, 2024 12:204,41897,816,11636,667,71802,244,608
33Jun 7, 2024 12:204,440101,575,54536,853,92002,240,512
34Jun 7, 2024 12:204,44193,538,60036,863,58402,240,512
35Jun 7, 2024 12:204,448101,971,63336,917,83602,244,608
36Jun 7, 2024 12:204,449107,462,45636,926,61602,248,704
37Jun 7, 2024 12:204,453100,028,67536,962,14402,236,416
38Jun 7, 2024 12:204,484107,042,97437,213,51802,240,512
39Jun 7, 2024 12:204,500114,936,23537,349,38702,240,512
40Jun 7, 2024 12:204,511103,039,42137,445,29102,236,416
41Jun 7, 2024 12:204,51897,952,78737,502,18702,248,704
42Jun 7, 2024 12:204,549114,217,70137,752,82902,240,512