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 listFeb 1, 2025 02:05mgildermgilderScore: 5,353Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 1, 2025 02:055,33543,242,24516,069,0001,004,0002,371,584
2Feb 1, 2025 02:055,35339,735,09015,114,0002,015,0002,367,488
3Feb 1, 2025 02:055,39533,249,80915,234,0002,031,0002,367,488