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 29, 2023 16:36Kevin HeaveyKevin HeaveyScore: 47,171Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 29, 2023 16:3647,136465,773,796391,226,55302,232,320
2Jan 29, 2023 16:3647,154462,338,412391,377,05902,224,128
3Jan 29, 2023 16:3647,161466,096,120391,432,61002,220,032
4Jan 29, 2023 16:3647,171453,445,505391,523,38402,228,224
5Jan 29, 2023 16:3647,178453,194,328391,573,95202,224,128
6Jan 29, 2023 16:3647,276455,942,983392,392,81102,224,128