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 2, 2024 19:36Christopher TarryChristopher TarryScore: 820,404Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 2, 2024 19:36820,1432,684,368,7362,624,456,52102,260,992
2Apr 2, 2024 19:36820,4042,681,584,1962,625,293,80302,260,992
3Apr 2, 2024 19:36820,6442,682,942,4532,626,059,77502,265,088