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 listMay 31, 2024 13:58GraceGraceScore: 5,403Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 31, 2024 13:585,19765,005,51041,129,0002,006,0002,404,352
2May 31, 2024 13:585,19966,263,46742,152,0001,003,0002,400,256
3May 31, 2024 13:585,20165,209,18742,164,0001,003,0002,273,280
4May 31, 2024 13:585,20266,552,82441,172,0002,008,0002,273,280
5May 31, 2024 13:585,21265,388,98842,254,0001,006,0002,387,968
6May 31, 2024 13:585,21666,177,93143,291,00002,273,280
7May 31, 2024 13:585,22465,692,50542,352,0001,008,0002,273,280
8May 31, 2024 13:585,22772,739,66143,384,00002,273,280
9May 31, 2024 13:585,24170,074,55643,497,00002,273,280
10May 31, 2024 13:585,25770,500,59242,622,0001,014,0002,273,280
11May 31, 2024 13:585,32370,477,55543,180,0001,004,0002,273,280
12May 31, 2024 13:585,40169,079,34142,838,0001,992,0002,273,280
13May 31, 2024 13:585,403106,398,19444,848,13602,277,376
14May 31, 2024 13:585,404119,983,02544,850,99202,289,664
15May 31, 2024 13:595,406100,023,72744,873,81602,285,568
16May 31, 2024 13:585,410104,303,81444,902,02702,289,664
17May 31, 2024 13:585,41098,471,45644,903,62602,281,472
18May 31, 2024 13:585,421115,230,82444,997,83702,289,664
19May 31, 2024 13:595,422110,587,03945,006,38102,289,664
20May 31, 2024 13:585,441108,368,99345,157,50202,281,472
21May 31, 2024 13:585,502116,025,18345,670,31202,289,664
22May 31, 2024 13:585,503107,336,35245,677,01202,285,568
23May 31, 2024 13:585,563123,808,35946,170,79702,281,472
24May 31, 2024 13:595,574116,575,84446,266,91702,285,568