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 listJun 6, 2021 11:06Andrey TsvetkovAndrey TsvetkovScore: 87,467Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 11:0486,855790,005,719720,898,37702,203,648
2Jun 6, 2021 11:0686,876787,591,696721,068,07502,195,456
3Jun 6, 2021 11:0487,369778,498,759725,165,46302,199,552
4Jun 6, 2021 11:0687,467800,018,863725,977,93202,203,648
5Jun 6, 2021 11:0487,472789,084,369726,020,13402,199,552
6Jun 6, 2021 11:0687,677784,670,159727,720,36702,199,552