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 7, 2026 16:50IlyaIlyaScore: 4,318Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2026 16:504,30922,904,09712,783,0001,008,0002,113,536
2Jun 7, 2026 16:504,31422,906,75512,747,0001,060,0002,113,536
3Jun 7, 2026 16:504,31422,894,02612,752,0001,054,0002,113,536
4Jun 7, 2026 16:504,31822,886,93912,764,0001,054,0002,113,536
5Jun 7, 2026 16:504,31822,904,86412,770,0001,050,0002,113,536
6Jun 7, 2026 16:504,31822,865,16712,760,0001,060,0002,113,536
7Jun 7, 2026 16:504,32222,928,56112,780,0001,053,0002,113,536
8Jun 7, 2026 16:504,33222,955,69512,809,0001,054,0002,113,536
9Jun 7, 2026 16:504,34023,080,49212,828,0001,060,0002,113,536