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 3, 2026 10:18IlyaIlyaScore: 5,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2026 10:195,04325,159,85816,140,00002,113,536
2Jun 3, 2026 10:195,07425,234,57816,239,00002,113,536
3Jun 3, 2026 10:195,07525,303,40215,238,0001,003,0002,113,536
4Jun 3, 2026 10:195,08325,139,75815,249,0001,018,0002,113,536
5Jun 3, 2026 10:195,08525,334,52115,260,0001,014,0002,113,536
6Jun 3, 2026 10:195,09426,753,44915,294,0001,008,0002,113,536
7Jun 3, 2026 10:195,10825,400,48915,303,0001,043,0002,113,536
8Jun 3, 2026 10:195,12525,473,42515,347,0001,053,0002,113,536
9Jun 3, 2026 10:195,12625,464,06015,351,0001,054,0002,113,536