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 9, 2022 12:19Bernard TeoBernard TeoScore: 10,161Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 9, 2022 12:1710,036116,984,39732,114,25402,301,952
2Aug 9, 2022 12:1910,040109,549,54932,127,56402,301,952
3Aug 9, 2022 12:1710,04296,094,61432,133,36302,297,856
4Aug 9, 2022 12:1910,161100,403,27332,516,29002,297,856
5Aug 9, 2022 12:1910,17297,731,31632,550,08802,301,952
6Aug 9, 2022 12:1710,18396,292,65732,585,53002,289,664