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 8, 2021 17:46Prisyazhnyuk AlexanderPrisyazhnyuk AlexanderScore: 129,919Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 17:26129,8851,138,821,6591,078,046,87302,301,952
2Jul 8, 2021 19:35129,9061,141,637,6851,078,222,27602,174,976
3Jul 8, 2021 17:46129,9121,139,221,4181,078,268,03602,306,048
4Jul 8, 2021 17:26129,9141,133,653,0331,078,286,75802,179,072
5Jul 8, 2021 19:35129,9191,131,806,0111,078,325,96602,297,856
6Jul 8, 2021 17:46129,9281,134,750,2611,078,400,54402,301,952
7Jul 8, 2021 17:26129,9431,147,004,4111,078,524,94302,306,048
8Jul 8, 2021 17:46129,9601,132,039,1551,078,671,32802,174,976
9Jul 8, 2021 19:35130,0011,151,991,8271,079,004,52602,174,976