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 listApr 29, 2024 19:05Steve HanSteve HanScore: 16,325Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2024 19:0516,260191,645,080134,954,30202,277,376
2Apr 29, 2024 19:0516,278198,308,123135,107,08202,273,280
3Apr 29, 2024 19:0516,283192,448,454135,152,10702,260,992
4Apr 29, 2024 19:0516,293193,466,726135,229,33602,396,160
5Apr 29, 2024 19:0516,325195,369,917135,497,54202,281,472
6Apr 29, 2024 19:0517,036215,908,677141,396,92202,265,088
7Apr 29, 2024 19:0517,064215,430,177141,633,43302,269,184
8Apr 29, 2024 19:0517,078205,654,337141,749,77802,277,376
9Apr 29, 2024 19:0517,287199,163,365143,478,93002,277,376