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 listDec 14, 2024 14:38MatthiasMatthiasScore: 4,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2024 14:384,77731,072,84313,247,0002,038,0002,260,992
2Dec 14, 2024 14:384,78041,630,60713,258,0002,039,0002,265,088
3Dec 14, 2024 14:384,81433,656,55114,378,0001,027,0002,285,568