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:08GraceGraceScore: 4,211Success
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:084,10857,667,94932,095,0002,005,000176,128
2Jun 7, 2024 12:084,13159,380,55632,271,0002,016,0002,490,368
3Jun 7, 2024 12:084,13464,618,71933,306,0001,009,0002,482,176
4Jun 7, 2024 12:084,13456,230,40231,283,0003,027,0002,273,280
5Jun 7, 2024 12:084,13753,285,59132,319,0002,019,0002,494,464
6Jun 7, 2024 12:084,13760,395,97731,304,0003,029,0002,273,280
7Jun 7, 2024 12:084,14555,345,48133,389,0001,011,000176,128
8Jun 7, 2024 12:084,14661,186,65932,388,0002,024,0002,273,280
9Jun 7, 2024 12:084,15960,662,10132,491,0002,030,000376,832
10Jun 7, 2024 12:084,16355,772,05633,533,0001,016,0002,486,272
11Jun 7, 2024 12:084,16357,640,08934,551,00002,273,280
12Jun 7, 2024 12:084,16455,728,82831,601,0002,962,0002,342,912
13Jun 7, 2024 12:084,16965,499,06432,565,0002,035,0002,273,280
14Jun 7, 2024 12:084,17462,679,03134,645,0000376,832
15Jun 7, 2024 12:084,19462,225,17132,823,0001,989,0002,490,368
16Jun 7, 2024 12:084,19660,672,62931,842,0002,985,0002,273,280
17Jun 7, 2024 12:084,19757,349,93933,836,000995,0002,494,464
18Jun 7, 2024 12:084,19965,329,49133,855,000995,0002,273,280
19Jun 7, 2024 12:084,19958,111,65433,854,000995,0002,265,088
20Jun 7, 2024 12:084,20358,414,35931,894,0002,990,0002,351,104
21Jun 7, 2024 12:084,20358,779,03632,892,0001,993,0002,486,272
22Jun 7, 2024 12:084,20356,717,93832,893,0001,993,0002,342,912
23Jun 7, 2024 12:084,21161,353,95132,951,0001,997,0002,482,176
24Jun 7, 2024 12:084,21167,710,08431,957,0002,996,0002,482,176
25Jun 7, 2024 12:084,21458,444,12931,980,0002,998,0002,437,120
26Jun 7, 2024 12:084,21559,515,60931,989,0002,999,0002,273,280
27Jun 7, 2024 12:084,21557,999,54731,984,0002,998,0002,506,752
28Jun 7, 2024 12:084,24965,034,60734,257,0001,007,0002,273,280
29Jun 7, 2024 12:084,25759,279,35432,307,0003,028,0002,273,280
30Jun 7, 2024 12:084,27161,090,06333,421,0002,025,0002,486,272
31Jun 7, 2024 12:084,27562,087,67633,454,0002,027,0002,486,272
32Jun 7, 2024 12:084,32662,325,54432,916,0002,992,000176,128
33Jun 7, 2024 12:084,32865,999,15533,927,0001,995,0002,273,280
34Jun 7, 2024 12:084,33895,640,72336,008,10802,240,512
35Jun 7, 2024 12:084,34496,175,41636,052,28702,236,416
36Jun 7, 2024 12:084,345104,549,70036,063,05602,236,416
37Jun 7, 2024 12:084,358119,680,79036,167,95402,244,608
38Jun 7, 2024 12:084,36199,641,50936,194,60402,248,704
39Jun 7, 2024 12:084,377102,554,28536,328,21702,236,416
40Jun 7, 2024 12:084,38499,949,21236,387,60202,244,608
41Jun 7, 2024 12:084,389108,853,91136,431,33702,240,512
42Jun 7, 2024 12:084,40595,174,23536,559,22602,236,416
43Jun 7, 2024 12:084,422107,963,02436,706,54602,240,512
44Jun 7, 2024 12:084,500107,048,96537,348,73702,240,512
45Jun 7, 2024 12:084,565101,978,52537,885,68502,244,608