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 listJul 25, 2024 17:23UdbhavUdbhavScore: 11,581Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 17:2311,557126,784,54493,921,0001,998,0002,285,568
2Jul 25, 2024 17:2311,560119,994,37394,951,000999,0002,347,008
3Jul 25, 2024 17:2311,563123,083,83994,975,000999,0002,347,008
4Jul 25, 2024 17:2311,564125,026,24193,981,0001,999,0002,285,568
5Jul 25, 2024 17:2311,575125,167,13294,072,0002,001,0002,347,008
6Jul 25, 2024 17:2311,576126,643,97294,083,0002,001,0002,285,568
7Jul 25, 2024 17:2311,581130,062,50795,125,0001,001,0002,285,568
8Jul 25, 2024 17:2311,581122,181,63794,119,0002,002,0002,285,568
9Jul 25, 2024 17:2311,591116,851,85694,200,0002,004,0002,347,008
10Jul 25, 2024 17:2311,592116,218,02594,213,0002,004,0002,338,816
11Jul 25, 2024 17:2311,592118,347,18494,209,0002,004,0002,285,568
12Jul 25, 2024 17:2311,663127,120,48395,803,000997,0002,285,568
13Jul 25, 2024 17:2311,677162,312,67896,920,12302,199,552
14Jul 25, 2024 17:2311,711154,086,94997,199,88502,215,936
15Jul 25, 2024 17:2311,714157,288,81597,227,70502,203,648