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 listMar 11, 2025 19:59Drew GarciaDrew GarciaScore: 5,323Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 11, 2025 19:595,29839,251,42614,960,0001,994,0002,400,256
2Mar 11, 2025 19:595,32337,909,37716,031,0001,001,0002,400,256
3Mar 11, 2025 19:595,33741,314,18216,074,0001,004,0002,404,352