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:43Yuriy LyfenkoYuriy LyfenkoScore: 22,582Success
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:4322,550213,303,600185,164,0002,001,0002,260,992
2May 4, 2021 22:4222,553212,853,498183,186,0004,004,0002,396,160
3May 4, 2021 22:4322,555215,508,988186,203,0001,001,0002,260,992
4May 4, 2021 22:4222,558211,881,807187,234,00002,387,968
5May 4, 2021 22:4322,563209,889,501186,275,0001,001,0002,260,992
6May 4, 2021 22:4222,569209,517,411186,325,0001,001,0002,260,992
7May 4, 2021 22:4222,572208,794,996187,349,00002,260,992
8May 4, 2021 22:4222,573212,101,566186,356,0001,001,0002,260,992
9May 4, 2021 22:4222,574210,179,347185,359,0002,003,0002,400,256
10May 4, 2021 22:4322,576213,968,571187,381,00002,260,992
11May 4, 2021 22:4222,576213,491,918186,377,0001,002,0002,265,088
12May 4, 2021 22:4222,579215,041,038186,400,0001,002,0002,392,064
13May 4, 2021 22:4222,579215,264,067185,414,0001,993,0002,392,064
14May 4, 2021 22:4222,582213,688,742186,428,0001,002,0002,260,992
15May 4, 2021 22:4222,586216,946,303185,466,0001,994,0002,265,088
16May 4, 2021 22:4222,587216,393,809187,473,00002,260,992
17May 4, 2021 22:4322,592215,212,576185,520,0001,994,0002,260,992
18May 4, 2021 22:4222,592216,860,916186,511,0001,002,0002,260,992
19May 4, 2021 22:4322,594218,990,641185,524,0002,005,0002,260,992
20May 4, 2021 22:4222,595217,656,512183,552,0003,990,0002,392,064
21May 4, 2021 22:4322,597217,885,163187,556,00002,260,992
22May 4, 2021 22:4322,597215,941,428187,553,00002,260,992
23May 4, 2021 22:4222,598217,834,862186,561,0001,003,0002,396,160
24May 4, 2021 22:4222,620221,044,402185,750,0001,997,0002,396,160
25May 4, 2021 22:4222,621221,616,284185,761,0001,997,0002,260,992
26May 4, 2021 22:4223,005218,201,409187,940,0002,999,0002,260,992
27May 4, 2021 22:4323,024217,736,077189,097,0002,001,0002,260,992