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 24, 2021 18:02Yuriy LyfenkoYuriy LyfenkoScore: 5,365Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:025,33032,952,09015,049,0002,006,0002,265,088
2May 24, 2021 18:025,33244,763,57416,060,0001,003,0002,506,752
3May 24, 2021 18:025,33547,581,62416,068,0001,004,0002,265,088
4May 24, 2021 18:025,33846,018,99815,073,0002,009,0002,265,088
5May 24, 2021 18:025,34342,382,42616,092,0001,005,0002,392,064
6May 24, 2021 18:025,35134,466,85216,116,0001,007,0002,396,160
7May 24, 2021 18:025,36548,551,04715,149,0002,019,0002,265,088
8May 24, 2021 18:025,37039,964,60216,173,0001,010,0002,392,064
9May 24, 2021 18:025,39444,485,16415,231,0002,030,0002,527,232
10May 24, 2021 18:025,51259,294,17717,638,63002,285,568
11May 24, 2021 18:025,53596,108,68917,713,52202,273,280
12May 24, 2021 18:025,59367,389,04017,897,95702,277,376