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 listDec 27, 2022 10:28empempScore: 203,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2022 09:22202,4451,744,986,7661,680,293,06302,228,224
2Dec 27, 2022 10:28203,3741,755,326,8431,688,003,96502,240,512
3Dec 27, 2022 09:22203,3831,751,327,8601,688,082,37802,232,320
4Dec 27, 2022 09:22203,4141,749,745,0541,688,339,29702,224,128
5Dec 27, 2022 10:28203,4611,751,759,5521,688,730,13302,236,416
6Dec 27, 2022 10:28225,2971,935,881,6021,869,967,15502,232,320