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 listMar 17, 2023 22:48Alexander MonakovAlexander MonakovScore: 4,812Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 22:484,77432,537,62415,276,00002,277,376
2Mar 17, 2023 22:484,78137,225,29315,300,00002,277,376
3Mar 17, 2023 22:484,79635,179,59515,346,00002,498,560
4Mar 17, 2023 22:484,80330,344,96015,368,00002,535,424
5Mar 17, 2023 22:484,80332,271,61015,370,00002,502,656
6Mar 17, 2023 22:484,80735,756,62415,382,00002,277,376
7Mar 17, 2023 22:484,81228,425,55315,397,00002,273,280
8Mar 17, 2023 22:484,82833,725,00715,449,00002,502,656
9Mar 17, 2023 22:484,84532,881,73815,504,00002,277,376
10Mar 17, 2023 22:485,04468,449,35616,140,08602,244,608
11Mar 17, 2023 22:485,05259,565,26316,166,67602,240,512
12Mar 17, 2023 22:485,05979,243,26116,189,05502,248,704