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 27, 2021 19:47Yuriy LyfenkoYuriy LyfenkoScore: 5,206Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:475,17342,080,62415,518,0001,034,0002,269,184
2May 27, 2021 19:475,18540,775,48415,555,0001,037,0002,383,872
3May 27, 2021 19:475,19338,917,17215,580,0001,038,0002,396,160
4May 27, 2021 19:475,19441,380,69515,583,0001,038,0002,392,064
5May 27, 2021 19:475,20334,031,86115,610,0001,040,0002,392,064
6May 27, 2021 19:475,20532,572,66116,655,00002,396,160
7May 27, 2021 19:475,20650,383,16915,619,0001,041,0002,265,088
8May 27, 2021 19:475,21832,273,68215,655,0001,043,0002,265,088
9May 27, 2021 19:475,22748,049,26216,727,00002,387,968
10May 27, 2021 19:475,39347,688,64617,257,89002,273,280
11May 27, 2021 19:475,40659,111,77317,299,27502,281,472
12May 27, 2021 19:475,42075,476,52417,343,21202,285,568