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 listOct 5, 2026 17:52FrederickFrederickScore: 4,480Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 17:564,2766,022,769,45713,685,00002,113,536
2Oct 5, 2026 17:564,2836,022,704,65113,708,00002,113,536
3Oct 5, 2026 17:564,4256,023,228,17114,160,00002,113,536
4Oct 5, 2026 17:564,4756,025,721,82014,321,00002,113,536
5Oct 5, 2026 17:564,4806,023,410,26514,337,00002,113,536
6Oct 5, 2026 17:564,4846,023,978,35513,345,0001,004,0002,113,536
7Oct 5, 2026 17:564,4856,023,377,00014,353,00002,113,536
8Oct 5, 2026 17:564,5036,023,482,24414,410,00002,113,536
9Oct 5, 2026 17:564,5056,023,522,57914,419,00002,113,536