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 23, 2021 18:34Yuriy LyfenkoYuriy LyfenkoScore: 5,127Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 18:345,08340,638,36314,233,0002,033,0002,265,088
2May 23, 2021 18:345,09333,971,45415,281,0001,018,0002,265,088
3May 23, 2021 18:345,09633,398,98815,289,0001,019,0002,387,968
4May 23, 2021 18:345,11132,887,73916,354,00002,265,088
5May 23, 2021 18:345,11632,462,35015,348,0001,023,0002,392,064
6May 23, 2021 18:345,12748,613,39116,405,00002,527,232
7May 23, 2021 18:345,12738,646,37815,382,0001,025,0002,265,088
8May 23, 2021 18:345,14238,098,36716,454,00002,387,968
9May 23, 2021 18:345,15140,474,85415,453,0001,030,0002,265,088
10May 23, 2021 18:345,27875,828,92816,891,10702,277,376
11May 23, 2021 18:345,28887,961,88016,921,00402,273,280
12May 23, 2021 18:345,33882,430,58117,083,07602,277,376