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 listJan 16, 2022 15:02Andrey TsvetkovAndrey TsvetkovScore: 76,344Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 16, 2022 14:5976,325697,717,851633,498,71402,244,608
2Jan 16, 2022 14:5976,342696,038,773633,640,70802,252,800
3Jan 16, 2022 14:5976,344699,894,193633,654,27302,260,992
4Jan 16, 2022 15:0276,344694,087,753633,654,77602,252,800
5Jan 16, 2022 15:0276,353704,354,068633,726,93602,248,704
6Jan 16, 2022 15:0276,355700,720,368633,745,58202,256,896