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 listJun 4, 2026 21:57IlyaIlyaScore: 5,127Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2026 21:585,06325,302,17615,157,0001,045,0002,113,536
2Jun 4, 2026 21:585,07125,152,57215,185,0001,043,0002,113,536
3Jun 4, 2026 21:585,07425,296,16515,187,0001,052,0002,113,536
4Jun 4, 2026 21:585,07825,379,32715,179,0001,072,0002,113,536
5Jun 4, 2026 21:585,12725,472,69115,366,0001,041,0002,113,536
6Jun 4, 2026 21:585,13625,495,22015,390,0001,046,0002,113,536
7Jun 4, 2026 21:585,16025,542,30215,460,0001,052,0002,113,536
8Jun 4, 2026 21:585,16125,567,89115,457,0001,061,0002,113,536
9Jun 4, 2026 21:585,16527,172,35415,468,0001,063,0002,113,536