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:45Yuriy LyfenkoYuriy LyfenkoScore: 22,458Success
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:4522,219211,739,477182,424,0001,993,0002,260,992
2May 4, 2021 22:4522,382217,108,217183,774,0001,997,0002,392,064
3May 4, 2021 22:4422,408214,150,058182,989,0002,999,0002,506,752
4May 4, 2021 22:4522,434208,955,197184,197,0002,002,0002,506,752
5May 4, 2021 22:4522,437210,103,835184,222,0002,002,0002,387,968
6May 4, 2021 22:4522,443210,418,039185,280,0001,001,0002,260,992
7May 4, 2021 22:4522,445211,329,718185,296,0001,001,0002,256,896
8May 4, 2021 22:4422,446215,477,667185,300,0001,001,0002,392,064
9May 4, 2021 22:4422,447213,700,670185,312,0001,001,0002,260,992
10May 4, 2021 22:4422,448208,957,539186,316,00002,392,064
11May 4, 2021 22:4422,449216,129,856185,325,0001,001,0002,396,160
12May 4, 2021 22:4522,452208,791,339185,349,0001,001,0002,256,896
13May 4, 2021 22:4422,453207,074,143185,362,0001,001,0002,260,992
14May 4, 2021 22:4522,458206,739,899186,401,00002,260,992
15May 4, 2021 22:4422,458210,245,969184,395,0002,004,0002,260,992
16May 4, 2021 22:4522,464210,745,614185,453,0001,002,0002,260,992
17May 4, 2021 22:4422,466218,239,728186,466,00002,260,992
18May 4, 2021 22:4522,469218,071,545185,492,0001,002,0002,260,992
19May 4, 2021 22:4522,473219,413,432185,520,0001,002,0002,392,064
20May 4, 2021 22:4422,474218,721,616184,526,0002,005,0002,260,992
21May 4, 2021 22:4522,486218,621,852184,635,0001,996,0002,387,968
22May 4, 2021 22:4522,494218,674,590184,705,0001,996,0002,392,064
23May 4, 2021 22:4522,497212,845,820183,731,0002,995,0002,396,160
24May 4, 2021 22:4522,498218,471,782184,736,0001,997,0002,387,968
25May 4, 2021 22:4522,499217,630,455184,748,0001,997,0002,260,992
26May 4, 2021 22:4522,499217,202,833185,745,000998,0002,260,992
27May 4, 2021 22:4522,912218,714,012188,170,0002,001,0002,260,992