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 listJul 20, 2023 19:30gchebanovgchebanovScore: 10,035Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2023 19:309,568151,499,71379,411,46002,273,280
2Jul 20, 2023 19:309,969149,491,98582,738,67102,195,456
3Jul 20, 2023 19:309,983142,465,67682,856,82402,187,264
4Jul 20, 2023 19:3010,011105,923,89781,088,0002,002,0002,469,888
5Jul 20, 2023 19:3010,017105,680,38381,140,0002,003,0002,535,424
6Jul 20, 2023 19:3010,023106,095,12981,183,0002,004,0002,449,408
7Jul 20, 2023 19:3010,031106,470,50681,251,0002,006,0002,473,984
8Jul 20, 2023 19:3010,035110,114,73981,281,0002,006,0002,277,376
9Jul 20, 2023 19:3010,040116,717,53580,322,0003,012,0002,482,176
10Jul 20, 2023 19:3010,046109,045,22980,372,0003,013,0002,469,888
11Jul 20, 2023 19:3010,049109,144,24281,400,0002,009,0002,461,696
12Jul 20, 2023 19:3010,053108,268,92182,432,0001,005,0002,461,696
13Jul 20, 2023 19:3010,280108,132,86084,318,0001,003,0002,519,040
14Jul 20, 2023 19:3010,314115,802,21484,596,0001,007,0002,465,792
15Jul 20, 2023 19:3010,339114,501,93683,815,0001,995,0002,478,080