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:37Yuriy LyfenkoYuriy LyfenkoScore: 23,207Success
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:3722,908216,462,716187,138,0003,002,0002,260,992
2May 4, 2021 22:3723,174215,884,786191,342,0001,001,0002,260,992
3May 4, 2021 22:3723,179214,091,673191,381,0001,001,0002,387,968
4May 4, 2021 22:3723,186216,334,052191,445,0001,002,0002,260,992
5May 4, 2021 22:3723,187214,088,717189,447,0003,007,0002,260,992
6May 4, 2021 22:3723,189211,379,735190,463,0002,004,0002,494,464
7May 4, 2021 22:3723,190214,326,023190,474,0002,004,0002,265,088
8May 4, 2021 22:3723,194217,213,586192,513,00002,510,848
9May 4, 2021 22:3723,196228,074,442192,530,00002,260,992
10May 4, 2021 22:3723,203223,099,626191,582,0001,003,0002,260,992
11May 4, 2021 22:3723,205218,374,370191,596,0001,003,0002,260,992
12May 4, 2021 22:3723,205224,760,951190,599,0002,006,0002,260,992
13May 4, 2021 22:3723,206224,099,748189,603,0003,009,0002,400,256
14May 4, 2021 22:3723,207216,896,936189,607,0003,009,0002,260,992
15May 4, 2021 22:3723,212220,940,048190,664,0001,996,0002,260,992
16May 4, 2021 22:3723,217219,742,307190,707,0001,996,0002,260,992
17May 4, 2021 22:3723,220220,996,909191,730,000998,0002,392,064
18May 4, 2021 22:3723,222221,992,230191,747,000998,0002,260,992
19May 4, 2021 22:3723,222217,220,734190,749,0001,997,0002,400,256
20May 4, 2021 22:3723,223223,799,996191,755,000998,0002,396,160
21May 4, 2021 22:3723,224217,826,210190,761,0001,997,0002,400,256
22May 4, 2021 22:3723,225221,769,602191,765,0001,004,0002,392,064
23May 4, 2021 22:3723,225222,928,545191,769,000998,0002,387,968
24May 4, 2021 22:3723,226216,266,784190,781,0001,997,0002,387,968
25May 4, 2021 22:3723,236217,788,825191,857,000999,0002,260,992
26May 4, 2021 22:3723,239226,263,845191,883,000999,0002,260,992
27May 4, 2021 22:3723,246222,401,767190,940,0001,999,0002,392,064