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 17, 2023 18:28Kevin HeaveyKevin HeaveyScore: 48,176Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2023 18:2848,145470,938,470399,605,23002,224,128
2Jan 17, 2023 18:2948,155463,470,146399,688,52802,220,032
3Jan 17, 2023 18:2948,162457,003,718399,740,96202,215,936
4Jan 17, 2023 18:2848,176463,578,586399,861,09202,232,320
5Jan 17, 2023 18:2948,179470,715,655399,882,45702,228,224
6Jan 17, 2023 18:2848,197465,240,925400,032,65402,224,128