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 listJan 14, 2024 22:02pavelsonkinpavelsonkinScore: 2,513,439Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 14, 2024 22:022,510,5328,101,241,5398,033,703,92202,260,992
2Jan 14, 2024 22:022,513,4398,103,408,3258,043,005,36302,256,896
3Jan 14, 2024 22:022,517,8748,124,223,3188,057,197,02802,265,088