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 listAug 8, 2023 14:46Andrey LikhachevAndrey LikhachevScore: 64,087Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 25, 2023 19:4663,790601,320,793529,455,30602,236,416
2Aug 8, 2023 14:4663,898597,218,920530,355,88402,228,224
3Oct 25, 2023 19:4663,928605,201,219530,603,40702,224,128
4Oct 25, 2023 19:4664,087593,569,879531,924,58302,228,224
5Aug 8, 2023 14:4664,150601,042,088532,440,91002,224,128
6Aug 8, 2023 14:4664,250598,546,071533,273,60202,224,128