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 listJan 22, 2023 11:09unsatcoreunsatcoreScore: 12,065Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2023 11:0911,945177,427,83099,142,86902,281,472
2Jan 22, 2023 11:0911,947160,340,36499,163,54802,281,472
3Jan 22, 2023 11:0911,957161,028,41699,241,80102,281,472
4Jan 22, 2023 11:0911,975164,066,38699,391,31902,285,568
5Jan 22, 2023 11:0912,009158,799,95899,670,57702,273,280
6Jan 22, 2023 11:0912,019122,530,34697,764,0001,995,0002,265,088
7Jan 22, 2023 11:0912,020129,936,79096,775,0002,993,0002,277,376
8Jan 22, 2023 11:0912,030123,791,12196,855,0002,995,0002,277,376
9Jan 22, 2023 11:0912,034166,574,00499,883,99902,281,472
10Jan 22, 2023 11:0912,041122,857,55798,938,000999,0002,281,472
11Jan 22, 2023 11:0912,052125,612,51497,034,0003,001,0002,277,376
12Jan 22, 2023 11:0912,064120,855,73698,128,0002,002,0002,277,376
13Jan 22, 2023 11:0912,065128,210,07798,139,0002,002,0002,277,376
14Jan 22, 2023 11:0912,066127,981,10097,146,0003,004,0002,277,376
15Jan 22, 2023 11:0912,067123,637,95598,155,0002,003,0002,519,040
16Jan 22, 2023 11:0912,075124,673,67395,211,0005,011,0002,269,184
17Jan 22, 2023 11:0912,084126,472,12498,291,0002,005,0002,277,376
18Jan 22, 2023 11:0912,087127,306,91097,310,0003,009,0002,277,376
19Jan 22, 2023 11:0912,104128,529,72299,463,0001,004,0002,277,376
20Jan 22, 2023 11:0912,143129,291,34397,795,0002,993,0002,527,232
21Jan 22, 2023 11:0912,143132,126,57998,792,0001,995,0002,277,376
22Jan 22, 2023 11:0912,192128,307,800100,190,0001,001,0002,375,680
23Jan 22, 2023 11:0912,202124,360,33999,270,0002,005,0002,277,376
24Jan 22, 2023 11:0912,208129,124,531100,320,0001,003,0002,277,376