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:42Yuriy LyfenkoYuriy LyfenkoScore: 22,572Success
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:4222,551209,204,796186,175,0001,000,0002,260,992
2May 4, 2021 22:4222,552211,221,386186,180,0001,000,0002,392,064
3May 4, 2021 22:4222,555210,270,188187,209,00002,260,992
4May 4, 2021 22:4222,556211,957,229186,213,0001,001,0002,260,992
5May 4, 2021 22:4222,556211,703,693185,211,0002,002,0002,392,064
6May 4, 2021 22:4222,562210,217,957186,260,0001,001,0002,400,256
7May 4, 2021 22:4222,563211,292,392185,274,0002,002,0002,392,064
8May 4, 2021 22:4222,567211,069,670185,299,0002,003,0002,260,992
9May 4, 2021 22:4222,568216,583,124185,312,0002,003,0002,392,064
10May 4, 2021 22:4222,572213,161,163185,344,0002,003,0002,260,992
11May 4, 2021 22:4222,583212,334,525186,441,0001,002,0002,260,992
12May 4, 2021 22:4222,587212,773,257186,466,0001,002,0002,260,992
13May 4, 2021 22:4222,588215,286,499185,479,0002,005,0002,260,992
14May 4, 2021 22:4222,591215,569,473187,503,00002,260,992
15May 4, 2021 22:4222,594214,630,631186,528,0001,002,0002,387,968
16May 4, 2021 22:4222,596215,610,493187,550,00002,260,992
17May 4, 2021 22:4222,618212,504,042184,731,0002,995,0002,260,992
18May 4, 2021 22:4222,981224,945,683188,749,0001,997,0002,260,992