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 9, 2025 19:35Ian MckibbenIan MckibbenScore: 8,629Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 19:358,61648,426,62326,550,0001,021,0002,269,184
2Jan 9, 2025 19:358,62954,201,50926,591,0001,022,0002,273,280
3Jan 9, 2025 19:358,71154,324,79025,885,0001,991,0002,355,200