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 listJul 15, 2022 04:29Robert BurkeRobert BurkeScore: 8,261Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2022 04:298,16893,759,57566,801,000997,0002,424,832
2Jul 15, 2022 04:298,16998,939,47867,799,00002,277,376
3Jul 15, 2022 04:298,17090,691,55267,808,00002,424,832
4Jul 15, 2022 04:298,17295,536,94166,834,000997,0002,277,376
5Jul 15, 2022 04:298,17795,568,55065,872,0001,996,0002,277,376
6Jul 15, 2022 04:298,20088,347,40067,057,0001,000,0002,273,280
7Jul 15, 2022 04:298,23394,874,04668,334,00002,277,376
8Jul 15, 2022 04:298,24188,998,32767,393,0001,005,0002,277,376
9Jul 15, 2022 04:298,24388,596,73368,416,00002,437,120
10Jul 15, 2022 04:298,24789,243,19868,450,00002,519,040
11Jul 15, 2022 04:298,24991,255,56468,464,00002,277,376
12Jul 15, 2022 04:298,25188,967,03568,483,00002,514,944
13Jul 15, 2022 04:298,25388,008,66168,500,00002,273,280
14Jul 15, 2022 04:298,25589,243,92667,513,0001,007,0002,428,928
15Jul 15, 2022 04:298,25895,340,62968,543,00002,433,024
16Jul 15, 2022 04:298,26193,923,39868,570,00002,539,520
17Jul 15, 2022 04:298,26392,498,29368,579,00002,277,376
18Jul 15, 2022 04:298,26497,771,05768,592,00002,433,024
19Jul 15, 2022 04:298,26699,625,99467,616,000994,0002,277,376
20Jul 15, 2022 04:298,27299,635,22068,654,00002,539,520
21Jul 15, 2022 04:298,29597,349,78768,846,00002,433,024
22Jul 15, 2022 04:298,29894,050,38567,876,000998,0002,277,376
23Jul 15, 2022 04:298,35090,672,71467,299,0002,008,0002,424,832
24Jul 15, 2022 04:298,37391,011,35369,500,00002,277,376
25Jul 15, 2022 04:298,688133,760,10772,113,90302,179,072
26Jul 15, 2022 04:298,690124,773,41572,130,27502,179,072
27Jul 15, 2022 04:298,693127,565,33272,152,65402,297,856
28Jul 15, 2022 04:298,706133,879,02472,260,64902,170,880
29Jul 15, 2022 04:298,712130,265,59572,310,29702,170,880
30Jul 15, 2022 04:298,722128,974,26372,393,03202,179,072