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 listJun 26, 2021 19:19alex3dalex3dScore: 7,567Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 26, 2021 19:197,56386,986,21024,201,42202,195,456
2Jun 26, 2021 19:197,567119,142,62724,213,52602,187,264
3Jun 26, 2021 19:197,60090,483,59324,320,19302,207,744