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 listMar 10, 2024 11:47Andrey TsvetkovAndrey TsvetkovScore: 31,727Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 10, 2024 11:4731,705326,523,053263,149,00102,228,224
2Apr 23, 2024 18:1631,712334,635,387263,209,74102,224,128
3Apr 23, 2024 18:1631,717326,484,173263,247,47502,232,320
4Apr 23, 2024 18:1631,724335,909,397263,305,57202,232,320
5Mar 10, 2024 11:4831,727326,714,601263,330,60602,228,224
6Mar 10, 2024 11:4831,728328,389,811263,338,65102,236,416
7Mar 10, 2024 11:4731,734332,890,879263,388,34802,228,224
8Mar 10, 2024 11:4731,749335,233,855263,513,08202,224,128
9Mar 10, 2024 11:4831,750342,172,358263,527,89702,228,224