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 19, 2025 05:15Ian MckibbenIan MckibbenScore: 4,504Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2025 05:154,46527,687,54913,267,0001,020,0002,269,184
2Jan 19, 2025 05:154,50428,126,48914,413,00002,269,184
3Jan 19, 2025 05:154,52630,754,22213,449,0001,034,0002,428,928