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 listOct 22, 2023 23:01sliceteamsliceteamScore: 8,054Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 22, 2023 23:018,02393,848,13665,584,0001,008,0002,273,280
2Oct 22, 2023 23:018,02498,382,60465,589,0001,009,0002,273,280
3Oct 22, 2023 23:018,02592,571,33766,609,00002,404,352
4Oct 22, 2023 23:018,02889,689,57466,633,00002,506,752
5Oct 22, 2023 23:018,04997,804,70566,810,00002,396,160
6Oct 22, 2023 23:018,05297,718,48465,832,000997,0002,281,472
7Oct 22, 2023 23:018,05291,169,77265,837,000997,0002,273,280
8Oct 22, 2023 23:018,05497,621,30165,851,000997,0002,273,280
9Oct 22, 2023 23:018,05692,853,22665,869,000998,0002,273,280
10Oct 22, 2023 23:018,15891,639,91466,714,000995,0002,396,160
11Oct 22, 2023 23:018,178139,401,47767,880,03102,277,376
12Oct 22, 2023 23:018,18794,000,32465,952,0001,998,0002,396,160
13Oct 22, 2023 23:018,19890,387,03466,039,0002,001,0002,387,968
14Oct 22, 2023 23:018,296150,544,42768,855,10802,256,896
15Oct 22, 2023 23:018,302133,055,35968,910,68602,285,568