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 5, 2021 19:20Yuriy LyfenkoYuriy LyfenkoScore: 23,092Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 5, 2021 19:2023,052217,337,570191,330,00002,260,992
2May 5, 2021 19:1923,058216,388,245190,380,0001,002,0002,256,896
3May 5, 2021 19:2023,073221,761,405190,500,0001,002,0002,383,872
4May 5, 2021 19:2023,077221,451,982190,537,0001,002,0002,260,992
5May 5, 2021 19:2023,078221,989,003189,540,0002,005,0002,260,992
6May 5, 2021 19:1923,079217,826,592189,558,0001,995,0002,383,872
7May 5, 2021 19:1923,080216,408,728189,560,0002,005,0002,387,968
8May 5, 2021 19:1923,084216,490,787190,591,0001,003,0002,260,992
9May 5, 2021 19:1923,084216,517,286190,597,0001,003,0002,260,992
10May 5, 2021 19:1923,092216,838,554190,664,000998,0002,260,992
11May 5, 2021 19:1923,101218,865,647190,744,000998,0002,260,992
12May 5, 2021 19:2023,102226,512,018187,750,0003,994,0002,260,992
13May 5, 2021 19:1923,123218,112,039189,926,0001,999,0002,260,992
14May 5, 2021 19:1923,133225,268,851189,001,0003,000,0002,260,992
15May 5, 2021 19:2023,361217,848,172190,897,0002,998,0002,260,992
16May 5, 2021 19:2023,410219,083,706193,298,0001,001,0002,260,992
17May 5, 2021 19:2023,417224,830,462194,360,00002,396,160
18May 5, 2021 19:2023,418221,146,605192,375,0001,993,0002,260,992