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 listOct 22, 2023 23:12sliceteamsliceteamScore: 8,049Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 22, 2023 23:118,01395,805,44466,508,00002,404,352
2Oct 22, 2023 23:128,01590,242,58866,526,00002,404,352
3Oct 22, 2023 23:118,01695,743,85364,544,0001,985,0002,400,256
4Oct 22, 2023 23:118,01995,772,66165,549,0001,008,0002,277,376
5Oct 22, 2023 23:128,02192,609,09165,568,0001,008,0002,396,160
6Oct 22, 2023 23:128,02598,315,00465,596,0001,009,0002,277,376
7Oct 22, 2023 23:128,02695,869,65265,609,0001,009,0002,400,256
8Oct 22, 2023 23:118,02991,865,93766,639,00002,277,376
9Oct 22, 2023 23:118,02996,399,26665,633,0001,009,0002,400,256
10Oct 22, 2023 23:128,02991,646,46366,640,00002,277,376
11Oct 22, 2023 23:128,03196,995,74766,655,00002,387,968
12Oct 22, 2023 23:128,03196,776,66565,648,0001,009,0002,277,376
13Oct 22, 2023 23:118,03292,193,15065,659,0001,010,0002,277,376
14Oct 22, 2023 23:128,03696,863,69766,699,00002,396,160
15Oct 22, 2023 23:128,04395,601,59565,765,000996,0002,277,376
16Oct 22, 2023 23:128,04988,593,45766,804,00002,396,160
17Oct 22, 2023 23:118,049100,595,39664,815,0001,994,0002,523,136
18Oct 22, 2023 23:118,05099,488,17965,814,000997,0002,404,352
19Oct 22, 2023 23:118,05498,755,26664,855,0001,995,0002,404,352
20Oct 22, 2023 23:118,05495,799,85766,852,00002,277,376
21Oct 22, 2023 23:128,05493,103,89166,852,00002,396,160
22Oct 22, 2023 23:118,05593,253,99065,858,000997,0002,277,376
23Oct 22, 2023 23:128,05691,999,55765,864,000997,0002,277,376
24Oct 22, 2023 23:118,146128,218,51767,609,10402,265,088
25Oct 22, 2023 23:118,152145,011,81367,662,25102,273,280
26Oct 22, 2023 23:128,173137,405,10067,833,86402,273,280
27Oct 22, 2023 23:128,175135,615,54967,850,53802,277,376
28Oct 22, 2023 23:118,23993,823,61967,376,0001,005,0002,392,064
29Oct 22, 2023 23:128,278139,711,91968,710,08902,273,280
30Oct 22, 2023 23:118,338134,438,64869,208,76102,273,280