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 listNov 10, 2023 10:15matsuoka-601matsuoka-601Score: 10,842Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2023 10:159,998143,876,44582,986,56702,252,800
2Nov 10, 2023 10:1510,004144,279,60283,035,97802,265,088
3Nov 10, 2023 10:1510,014167,570,91283,113,55402,277,376
4Nov 10, 2023 10:1510,823116,690,33588,832,000998,0002,506,752
5Nov 10, 2023 10:1510,831117,085,46188,903,000998,0002,285,568
6Nov 10, 2023 10:1510,833114,387,27888,919,000999,0002,285,568
7Nov 10, 2023 10:1510,842116,988,16487,987,0001,999,0002,285,568
8Nov 10, 2023 10:1510,842119,318,71387,989,0001,999,0002,519,040
9Nov 10, 2023 10:1510,843117,596,63687,996,0001,999,0002,285,568
10Nov 10, 2023 10:1510,844122,641,73989,004,0001,000,0002,277,376
11Nov 10, 2023 10:1510,847122,506,42888,027,0002,000,0002,510,848
12Nov 10, 2023 10:1510,849114,464,86188,045,0002,001,0002,285,568
13Nov 10, 2023 10:1510,852115,761,82488,071,0002,001,0002,285,568
14Nov 10, 2023 10:1510,881113,266,96588,306,0002,006,0002,285,568
15Nov 10, 2023 10:1510,917114,889,02189,605,0001,006,0002,285,568