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 listAug 10, 2022 16:32Bernard TeoBernard TeoScore: 5,517Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2022 16:325,47660,384,07617,523,34002,289,664
2Aug 10, 2022 16:335,49692,146,14617,586,90602,293,760
3Aug 10, 2022 16:335,49874,396,64517,594,14702,297,856
4Aug 10, 2022 16:325,51789,248,22017,653,01302,297,856
5Aug 10, 2022 16:325,54789,004,01217,751,14402,297,856
6Aug 10, 2022 16:335,55282,676,72217,764,96402,293,760