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 listOct 13, 2023 20:13Serge SmirnovSerge SmirnovScore: 32,658Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 13, 2023 20:1332,642346,644,940270,930,56602,289,664
2Oct 13, 2023 20:1332,645351,745,734270,949,60602,289,664
3Oct 13, 2023 20:0932,649335,799,170270,984,47702,297,856
4Oct 13, 2023 20:0932,651343,567,358271,006,10702,281,472
5Oct 13, 2023 20:1032,651350,833,021271,003,02502,289,664
6Oct 13, 2023 20:1032,652341,292,048271,013,72402,285,568
7Oct 13, 2023 20:0932,658335,753,981271,057,29002,293,760
8Oct 13, 2023 20:1032,658345,125,173271,060,07502,281,472
9Oct 13, 2023 20:1332,658330,792,522271,057,36002,289,664
10Oct 13, 2023 20:1332,681342,405,855271,254,59402,285,568
11Oct 13, 2023 20:1334,019336,003,007282,358,51902,281,472
12Oct 13, 2023 20:1334,022345,589,691282,381,91202,289,664