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 listJul 22, 2022 19:57Robert BurkeRobert BurkeError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 19:5700000Error: expected "976465 ", got "976466 "stderr
2Jul 22, 2022 19:575,02161,094,44716,067,59002,183,168
3Jul 22, 2022 19:575,02686,342,45816,082,62202,187,264
4Jul 22, 2022 19:575,06080,175,18416,192,40902,179,072