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 25, 2021 15:37Yuriy LyfenkoYuriy LyfenkoScore: 5,104Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:375,04940,608,25314,138,0002,019,0002,396,160
2May 25, 2021 15:375,07233,660,78915,216,0001,014,0002,396,160
3May 25, 2021 15:375,07842,965,35614,220,0002,031,0002,400,256
4May 25, 2021 15:375,07933,290,73916,253,00002,265,088
5May 25, 2021 15:375,08333,550,49814,232,0002,033,0002,473,984
6May 25, 2021 15:375,10338,265,55115,311,0001,020,0002,269,184
7May 25, 2021 15:375,10445,890,81016,333,00002,265,088
8May 25, 2021 15:375,11039,207,87216,351,00002,265,088
9May 25, 2021 15:375,12633,033,93815,378,0001,025,0002,392,064
10May 25, 2021 15:375,26351,967,69716,841,63402,277,376
11May 25, 2021 15:375,27473,747,75916,875,86802,273,280
12May 25, 2021 15:375,33256,114,00517,062,28002,281,472