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 listApr 18, 2024 13:59Matt StuchlikMatt StuchlikScore: 10,044Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 13:599,953113,057,07880,599,0002,014,0002,338,816
2Apr 18, 2024 13:599,969111,692,52780,749,0001,993,0002,486,272
3Apr 18, 2024 13:599,991103,910,54179,926,0002,997,0002,490,368
4Apr 18, 2024 13:5910,018111,253,82480,143,0003,005,0002,285,568
5Apr 18, 2024 13:5910,021108,856,27082,169,0001,002,0002,490,368
6Apr 18, 2024 13:5910,027105,239,45780,220,0003,008,0002,285,568
7Apr 18, 2024 13:5910,044104,248,88381,361,0002,008,0002,486,272
8Apr 18, 2024 13:5910,084114,429,37980,707,0002,989,0002,478,080
9Apr 18, 2024 13:5910,096107,672,35482,789,0001,009,0002,285,568
10Apr 18, 2024 13:5910,218149,162,52984,811,90902,220,032
11Apr 18, 2024 13:5910,241142,995,45885,003,16902,228,224
12Apr 18, 2024 13:5910,265143,268,18085,197,33902,232,320