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:53Drew GarciaDrew GarciaScore: 5,779Success
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:535,75238,557,24317,385,0001,022,0002,404,352
2Mar 11, 2025 19:535,77941,206,99017,465,0001,027,0002,531,328
3Mar 11, 2025 19:535,79843,602,40518,553,00002,269,184