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 11, 2023 11:16Serge SmirnovSerge SmirnovScore: 35,427Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2023 12:3835,393348,763,086293,758,32602,289,664
2Oct 11, 2023 11:1635,413350,184,981293,925,38702,281,472
3Oct 11, 2023 11:3435,416357,998,110293,948,84702,285,568
4Oct 11, 2023 12:3835,417367,753,496293,965,23602,285,568
5Oct 11, 2023 11:3435,418362,162,523293,969,08102,281,472
6Oct 11, 2023 12:3835,422371,030,098294,002,06902,273,280
7Oct 11, 2023 12:3535,427349,188,361294,043,14502,281,472
8Oct 11, 2023 11:3435,428349,300,736294,048,60302,281,472
9Oct 11, 2023 12:3535,428344,918,307294,056,23102,293,760
10Oct 11, 2023 11:1635,433360,817,595294,094,38902,289,664
11Oct 11, 2023 12:3535,438359,537,456294,132,86702,293,760
12Oct 11, 2023 11:1636,960377,400,518306,766,71002,285,568