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 16, 2023 15:05Patsakula NikitaPatsakula NikitaScore: 85,574Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2023 15:0585,482780,884,229709,499,70802,224,128
2Jul 16, 2023 15:0485,499773,008,912709,642,67202,236,416
3Jul 16, 2023 15:0485,550770,725,903710,067,82102,228,224
4Jul 16, 2023 15:0585,574788,665,449710,260,23602,228,224
5Jul 16, 2023 15:0585,604770,003,030710,511,88502,236,416
6Jul 16, 2023 15:0485,671790,083,198711,065,68402,232,320