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 listApr 17, 2024 18:44Joad NacerJoad NacerError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 18:4400000Error: expected "975523 ", got "975522 "
2Apr 17, 2024 18:455,101103,834,38916,323,12902,179,072
3Apr 17, 2024 18:455,10274,513,99816,326,68002,301,952
4Apr 17, 2024 18:455,12463,129,13816,398,05702,289,664