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 3, 2023 00:08dzaimadzaimaScore: 12,038Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 00:0811,974128,187,98297,381,0002,007,0002,289,664
2Jul 3, 2023 00:0811,978127,116,35097,406,0002,008,0002,289,664
3Jul 3, 2023 00:0811,983121,630,79899,456,00002,273,280
4Jul 3, 2023 00:0811,983123,271,84298,455,0001,004,0002,289,664
5Jul 3, 2023 00:0812,030121,792,85197,855,0001,997,0002,289,664
6Jul 3, 2023 00:0812,031126,057,58497,861,0001,997,0002,273,280
7Jul 3, 2023 00:0812,037123,815,71798,908,000999,0002,269,184
8Jul 3, 2023 00:0812,038121,548,76397,921,0001,998,0002,265,088
9Jul 3, 2023 00:0812,038130,902,42697,916,0001,998,0002,289,664
10Jul 3, 2023 00:0812,040125,413,51397,933,0001,998,0002,523,136
11Jul 3, 2023 00:0812,042123,244,62697,951,0001,999,0002,289,664
12Jul 3, 2023 00:0812,052127,582,05698,034,0002,000,0002,277,376
13Jul 3, 2023 00:0813,322166,785,062110,573,22802,269,184
14Jul 3, 2023 00:0813,326172,579,609110,608,07602,265,088
15Jul 3, 2023 00:0813,343183,955,375110,742,97802,269,184