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 22:55sliceteamsliceteamScore: 8,046Success
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 22:558,00890,498,94365,457,0001,007,0002,273,280
2Oct 22, 2023 22:588,01191,817,91165,488,0001,007,0002,269,184
3Oct 22, 2023 22:588,01194,532,79365,484,0001,007,0002,273,280
4Oct 22, 2023 22:558,01792,205,34265,532,0001,008,0002,396,160
5Oct 22, 2023 22:558,02092,235,08365,554,0001,008,0002,273,280
6Oct 22, 2023 22:558,02295,879,16566,585,00002,273,280
7Oct 22, 2023 22:588,02495,477,65366,601,00002,404,352
8Oct 22, 2023 22:558,02494,670,77965,587,0001,009,0002,273,280
9Oct 22, 2023 22:558,02591,905,78566,604,00002,514,944
10Oct 22, 2023 22:588,02796,291,12865,617,0001,009,0002,273,280
11Oct 22, 2023 22:558,03094,258,29565,640,0001,009,0002,400,256
12Oct 22, 2023 22:558,03198,680,29666,658,00002,396,160
13Oct 22, 2023 22:588,03490,309,30164,695,0001,990,0002,387,968
14Oct 22, 2023 22:588,03689,953,14464,705,0001,990,0002,273,280
15Oct 22, 2023 22:588,04594,463,30164,777,0001,993,0002,490,368
16Oct 22, 2023 22:558,04692,637,61864,786,0001,993,0002,273,280
17Oct 22, 2023 22:588,04789,436,17465,793,000996,0002,273,280
18Oct 22, 2023 22:588,04990,446,35564,809,0001,994,0002,400,256
19Oct 22, 2023 22:558,05196,811,08965,830,000997,0002,519,040
20Oct 22, 2023 22:558,05293,912,95365,834,000997,0002,273,280
21Oct 22, 2023 22:588,05595,352,05065,858,000997,0002,273,280
22Oct 22, 2023 22:588,06091,622,25965,898,000998,0002,400,256
23Oct 22, 2023 22:558,11192,083,08367,321,00002,387,968
24Oct 22, 2023 22:588,142130,742,81767,575,91002,273,280
25Oct 22, 2023 22:588,151133,542,15267,655,13402,285,568
26Oct 22, 2023 22:588,171125,998,00767,816,66302,277,376
27Oct 22, 2023 22:558,177140,024,65067,866,41902,277,376
28Oct 22, 2023 22:558,184135,455,26267,929,68202,273,280
29Oct 22, 2023 22:588,20894,423,48766,121,0002,003,0002,273,280
30Oct 22, 2023 22:558,289134,952,53968,797,33202,277,376