Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 16, 2021 09:32alex3dalex3dScore: 5,059Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 09:324,9819,532,422,36513,947,0001,992,0002,519,040
2May 16, 2021 09:335,0059,281,541,28816,017,00002,514,944
3May 16, 2021 09:325,0082,198,960,47616,024,00002,510,848
4May 16, 2021 09:315,0099,514,568,53916,028,00002,514,944
5May 16, 2021 09:335,0172,649,221,91413,914,0002,140,0002,510,848
6May 16, 2021 09:315,0192,738,367,30916,061,00002,514,944
7May 16, 2021 09:315,0214,487,839,51214,996,0001,071,0002,514,944
8May 16, 2021 09:325,0238,630,292,50315,004,0001,071,0002,514,944
9May 16, 2021 09:315,0298,836,585,99016,093,00002,510,848
10May 16, 2021 09:335,0296,001,212,48116,094,00002,510,848
11May 16, 2021 09:315,0311,325,167,21216,100,00002,433,024
12May 16, 2021 09:335,0316,907,463,34915,025,0001,073,0002,510,848
13May 16, 2021 09:325,0331,582,819,85216,107,00002,514,944
14May 16, 2021 09:335,033253,641,43215,033,0001,073,0002,510,848
15May 16, 2021 09:325,037211,592,27715,044,0001,074,0002,428,928
16May 16, 2021 09:335,0426,558,052,27716,135,00002,510,848
17May 16, 2021 09:335,0461,678,027,87615,139,0001,009,0002,514,944
18May 16, 2021 09:325,0567,403,953,94016,178,00002,510,848
19May 16, 2021 09:315,0594,917,354,37516,188,00002,514,944
20May 16, 2021 09:315,0616,326,764,01114,171,0002,024,0002,510,848
21May 16, 2021 09:325,0639,856,706,08015,191,0001,012,0002,514,944
22May 16, 2021 09:315,067227,299,13515,200,0001,013,0002,428,928
23May 16, 2021 09:335,0738,696,392,42315,151,0001,082,0002,514,944
24May 16, 2021 09:315,0775,960,543,75315,164,0001,083,0002,510,848
25May 16, 2021 09:325,0829,889,910,66413,214,0003,049,0002,514,944
26May 16, 2021 09:325,0833,382,315,96715,311,000956,0002,510,848
27May 16, 2021 09:335,0847,822,162,38415,253,0001,016,0002,510,848
28May 16, 2021 09:325,1561,295,878,70916,499,31802,281,472
29May 16, 2021 09:335,1915,067,720,35316,612,72602,277,376
30May 16, 2021 09:335,1937,635,310,56516,617,17802,277,376
31May 16, 2021 09:335,1951,888,565,81916,623,78002,277,376
32May 16, 2021 09:325,1965,467,221,37616,626,61602,273,280
33May 16, 2021 09:315,2018,328,649,01716,642,55902,281,472
34May 16, 2021 09:315,2015,686,972,39016,642,07202,281,472
35May 16, 2021 09:315,2062,689,280,26116,658,08202,277,376
36May 16, 2021 09:325,2153,933,975,83816,688,95802,277,376