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:06mgildermgilderScore: 5,380Success
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:065,35739,776,82015,126,0002,016,0002,367,488
2Feb 1, 2025 02:065,38036,556,43415,192,0002,025,0002,289,664
3Feb 1, 2025 02:065,38836,640,68715,213,0002,028,0002,289,664