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:05Andrey TsvetkovAndrey TsvetkovScore: 94,713Success
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:0594,511847,988,541784,440,98802,195,456
2Jun 6, 2021 11:0594,667859,251,472785,738,55402,207,744
3Jun 6, 2021 11:0594,676846,864,987785,813,09802,203,648
4Jun 6, 2021 11:0594,713848,061,333786,115,99802,215,936
5Jun 6, 2021 11:0594,772847,644,092786,603,56802,207,744
6Jun 6, 2021 11:0594,795849,840,478786,798,01602,207,744