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 5, 2023 10:31Ignas BagdonasIgnas BagdonasScore: 11,978Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2023 10:3111,749124,312,86595,509,0002,010,0002,273,280
2Nov 5, 2023 10:3111,755124,277,59595,552,0002,011,0002,273,280
3Nov 5, 2023 10:3111,763159,668,21297,629,72002,293,760
4Nov 5, 2023 10:3111,789122,926,35196,852,000998,0002,273,280
5Nov 5, 2023 10:3111,796123,282,95794,912,0002,997,0002,273,280
6Nov 5, 2023 10:3111,803124,465,69095,964,0001,999,0002,273,280
7Nov 5, 2023 10:3111,816125,602,49995,073,0003,002,0002,273,280
8Nov 5, 2023 10:3111,978120,491,92198,412,0001,004,0002,265,088
9Nov 5, 2023 10:3111,979123,645,57797,420,0002,008,0002,273,280
10Nov 5, 2023 10:3111,988123,383,88296,482,0003,015,0002,273,280
11Nov 5, 2023 10:3111,998126,503,50498,579,0001,005,0002,273,280
12Nov 5, 2023 10:3112,038126,512,94697,921,0001,998,0002,273,280
13Nov 5, 2023 10:3112,054170,505,574100,049,07302,281,472
14Nov 5, 2023 10:3112,056162,610,814100,062,92802,252,800
15Nov 5, 2023 10:3112,260131,954,41099,767,0001,995,0002,273,280