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 21, 2022 12:02Eugene ZhydzetskiEugene ZhydzetskiError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2022 12:0200000Error: expected "975518 ", got "975517 "
2Aug 21, 2022 12:0300000Error: expected "976640 ", got "976639 "
3Aug 21, 2022 12:0300000Error: expected "976903 ", got "976902 "
4Aug 21, 2022 12:0300000Error: expected "976369 ", got "976367 "