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 listJan 22, 2023 09:23unsatcoreunsatcoreScore: 11,133Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2023 09:2310,984117,435,54890,165,0001,001,0002,277,376
2Jan 22, 2023 09:2310,990118,306,82989,209,0002,004,0002,277,376
3Jan 22, 2023 09:2311,014113,756,82589,407,0002,009,0002,277,376
4Jan 22, 2023 09:2311,020109,934,40089,456,0002,010,0002,277,376
5Jan 22, 2023 09:2311,028122,270,12389,523,0002,011,0002,277,376
6Jan 22, 2023 09:2311,064116,968,75390,834,000998,0002,277,376
7Jan 22, 2023 09:2311,070116,115,77586,890,0004,993,0002,277,376
8Jan 22, 2023 09:2311,076119,187,91990,934,000999,0002,277,376
9Jan 22, 2023 09:2311,087116,811,71190,018,0002,000,0002,277,376
10Jan 22, 2023 09:2311,093116,123,30790,072,0002,001,0002,514,944
11Jan 22, 2023 09:2311,106120,811,08390,177,0002,003,0002,277,376
12Jan 22, 2023 09:2311,111117,215,25990,220,0002,004,0002,277,376
13Jan 22, 2023 09:2311,133120,085,78392,405,00002,277,376
14Jan 22, 2023 09:2311,136115,743,69191,422,0001,004,0002,523,136
15Jan 22, 2023 09:2311,139113,154,45091,450,0001,004,0002,265,088
16Jan 22, 2023 09:2311,156120,253,64291,591,0001,006,0002,531,328
17Jan 22, 2023 09:2311,156127,358,39491,587,0001,006,0002,523,136
18Jan 22, 2023 09:2311,187116,709,34491,855,000998,0002,523,136
19Jan 22, 2023 09:2312,456168,051,140103,387,86202,277,376
20Jan 22, 2023 09:2312,461164,761,145103,426,78402,273,280
21Jan 22, 2023 09:2312,464179,038,259103,448,48302,277,376
22Jan 22, 2023 09:2312,468184,806,709103,486,31702,269,184
23Jan 22, 2023 09:2312,494165,671,305103,703,16602,273,280
24Jan 22, 2023 09:2312,536161,293,958104,048,25502,277,376