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 4, 2021 22:32Yuriy LyfenkoYuriy LyfenkoScore: 23,746Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 4, 2021 22:3223,521222,841,687195,223,00002,383,872
2May 4, 2021 22:3223,524218,739,770193,249,0002,002,0002,392,064
3May 4, 2021 22:3223,532218,896,465194,313,0001,001,0002,260,992
4May 4, 2021 22:3223,533221,388,854195,323,00002,260,992
5May 4, 2021 22:3223,534217,260,253193,333,0002,003,0002,260,992
6May 4, 2021 22:3223,536222,450,745195,348,00002,265,088
7May 4, 2021 22:3223,546219,523,462194,431,0001,002,0002,392,064
8May 4, 2021 22:3223,547222,467,609193,444,0001,994,0002,392,064
9May 4, 2021 22:3223,552224,251,929194,478,0001,002,0002,265,088
10May 4, 2021 22:3223,559224,343,727195,538,00002,392,064
11May 4, 2021 22:3223,563227,317,490193,582,0001,995,0002,260,992
12May 4, 2021 22:3223,583231,348,043194,739,000998,0002,392,064
13May 4, 2021 22:3223,587221,867,478194,776,000998,0002,396,160
14May 4, 2021 22:3223,717222,141,811195,856,000999,0002,260,992
15May 4, 2021 22:3223,722219,419,059194,898,0001,998,0002,404,352
16May 4, 2021 22:3223,730232,439,520194,963,0001,999,0002,260,992
17May 4, 2021 22:3223,738219,897,712196,026,0001,000,0002,506,752
18May 4, 2021 22:3223,743226,994,957195,064,0002,000,0002,260,992
19May 4, 2021 22:3223,746223,879,437195,091,0002,000,0002,387,968
20May 4, 2021 22:3223,750226,565,399195,121,0002,001,0002,396,160
21May 4, 2021 22:3223,751226,963,428194,135,0003,002,0002,260,992
22May 4, 2021 22:3223,752222,907,647196,138,0001,000,0002,260,992
23May 4, 2021 22:3223,754220,993,850196,162,0001,000,0002,387,968
24May 4, 2021 22:3223,755224,792,584195,165,0002,001,0002,392,064
25May 4, 2021 22:3223,755222,188,166193,166,0004,003,0002,260,992
26May 4, 2021 22:3223,755223,164,397197,166,00002,260,992
27May 4, 2021 22:3223,759223,292,790196,196,0001,001,0002,387,968
28May 4, 2021 22:3223,761231,705,070197,213,00002,260,992
29May 4, 2021 22:3223,762219,637,334196,227,0001,001,0002,383,872
30May 4, 2021 22:3223,765224,578,164195,245,0002,002,0002,400,256
31May 4, 2021 22:3223,769220,043,843196,284,0001,001,0002,260,992
32May 4, 2021 22:3223,771222,568,951196,295,0001,001,0002,387,968
33May 4, 2021 22:3223,775219,596,082195,331,0002,003,0002,260,992
34May 4, 2021 22:3223,776219,144,828196,343,0001,001,0002,387,968
35May 4, 2021 22:3223,780223,654,573196,376,0001,001,0002,260,992
36May 4, 2021 22:3223,785217,010,401196,410,0001,002,0002,260,992