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 listDec 22, 2021 04:17Yuriy LyfenkoYuriy LyfenkoScore: 5,688Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:175,617289,370,52615,859,0002,114,0002,334,720
2Dec 22, 2021 04:175,624292,201,01815,881,0002,117,0002,334,720
3Dec 22, 2021 04:175,642289,417,05816,992,0001,062,0002,338,816
4Dec 22, 2021 04:175,643290,901,20916,997,0001,062,0002,338,816
5Dec 22, 2021 04:175,657285,755,12718,102,00002,338,816
6Dec 22, 2021 04:175,661295,016,47717,050,0001,065,0002,334,720
7Dec 22, 2021 04:175,688289,868,21116,061,0002,141,0002,465,792
8Dec 22, 2021 04:175,691291,451,70317,139,0001,071,0002,338,816
9Dec 22, 2021 04:175,695288,959,04417,153,0001,072,0002,334,720
10Dec 22, 2021 04:175,709332,566,05018,267,81302,256,896
11Dec 22, 2021 04:175,728325,700,90018,330,95402,252,800
12Dec 22, 2021 04:175,753342,232,83218,409,69102,252,800