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 listMay 5, 2021 19:24Yuriy LyfenkoYuriy LyfenkoScore: 23,074Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 5, 2021 19:2523,054213,954,331190,346,0001,001,0002,392,064
2May 5, 2021 19:2423,056215,803,062190,363,0001,001,0002,392,064
3May 5, 2021 19:2423,057212,647,790190,376,0001,001,0002,396,160
4May 5, 2021 19:2523,058212,737,728191,384,00002,383,872
5May 5, 2021 19:2523,058212,121,926190,382,0001,002,0002,260,992
6May 5, 2021 19:2423,059218,046,599190,390,0001,002,0002,260,992
7May 5, 2021 19:2523,060218,433,412188,407,0002,990,0002,260,992
8May 5, 2021 19:2423,061214,357,840191,404,00002,260,992
9May 5, 2021 19:2423,062213,635,755187,407,0004,008,0002,260,992
10May 5, 2021 19:2523,063213,475,069190,421,0001,002,0002,260,992
11May 5, 2021 19:2523,065216,858,205191,436,00002,260,992
12May 5, 2021 19:2523,067213,778,990191,458,00002,392,064
13May 5, 2021 19:2423,067216,347,888191,460,00002,387,968
14May 5, 2021 19:2523,067218,132,765189,459,0001,994,0002,265,088
15May 5, 2021 19:2523,067217,720,338190,453,0001,002,0002,400,256
16May 5, 2021 19:2423,069213,875,315190,471,0001,002,0002,260,992
17May 5, 2021 19:2423,069217,378,401190,472,0001,002,0002,387,968
18May 5, 2021 19:2523,069219,981,993189,469,0002,004,0002,260,992
19May 5, 2021 19:2523,069217,552,148190,477,000997,0002,387,968
20May 5, 2021 19:2523,069219,647,215189,469,0002,004,0002,260,992
21May 5, 2021 19:2523,070213,589,269191,478,00002,396,160
22May 5, 2021 19:2423,071213,690,413189,488,0002,005,0002,396,160
23May 5, 2021 19:2423,071215,310,646190,486,0001,002,0002,260,992
24May 5, 2021 19:2523,072218,496,780190,494,0001,002,0002,387,968
25May 5, 2021 19:2523,072222,266,857190,494,0001,002,0002,392,064
26May 5, 2021 19:2423,073220,759,756191,510,00002,396,160
27May 5, 2021 19:2523,073225,599,435190,506,0001,002,0002,387,968
28May 5, 2021 19:2523,074218,290,148191,513,00002,260,992
29May 5, 2021 19:2523,077221,154,523191,539,00002,392,064
30May 5, 2021 19:2523,077221,298,793188,551,0002,992,0002,260,992
31May 5, 2021 19:2523,078220,246,115189,539,0002,005,0002,260,992
32May 5, 2021 19:2523,080215,492,593190,562,0001,002,0002,260,992
33May 5, 2021 19:2523,082215,784,103188,586,0002,993,0002,260,992
34May 5, 2021 19:2523,084217,012,540190,598,0001,003,0002,392,064
35May 5, 2021 19:2523,084218,009,057190,596,0001,003,0002,392,064
36May 5, 2021 19:2523,084223,206,513188,585,0003,009,0002,260,992
37May 5, 2021 19:2523,084223,454,222190,597,000997,0002,260,992
38May 5, 2021 19:2523,084219,176,014191,599,00002,387,968
39May 5, 2021 19:2423,087222,565,355189,628,0001,996,0002,383,872
40May 5, 2021 19:2423,088219,930,034189,634,0001,996,0002,260,992
41May 5, 2021 19:2423,098226,336,458189,715,0001,997,0002,260,992
42May 5, 2021 19:2523,098218,443,119188,720,0002,995,0002,260,992
43May 5, 2021 19:2423,099222,171,952190,727,000998,0002,260,992
44May 5, 2021 19:2523,099218,271,004190,722,000998,0002,260,992
45May 5, 2021 19:2423,099217,093,879188,724,0002,995,0002,260,992
46May 5, 2021 19:2423,100215,333,969189,734,0001,997,0002,486,272
47May 5, 2021 19:2523,100220,193,512189,730,0001,997,0002,260,992
48May 5, 2021 19:2523,101217,962,905189,745,0001,997,0002,392,064
49May 5, 2021 19:2523,102224,559,892189,750,0001,997,0002,265,088
50May 5, 2021 19:2523,104221,430,793190,763,000998,0002,383,872
51May 5, 2021 19:2523,105218,990,818191,769,00002,392,064
52May 5, 2021 19:2523,107216,565,413189,790,0001,997,0002,392,064
53May 5, 2021 19:2523,107217,375,598189,788,0001,997,0002,392,064
54May 5, 2021 19:2423,141220,960,678191,068,0001,000,0002,396,160