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 listJul 8, 2026 18:08IlyaIlyaScore: 4,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 18:084,32423,306,11512,815,0001,022,0002,113,536
2Jul 8, 2026 18:084,32823,362,29912,838,0001,014,0002,113,536
3Jul 8, 2026 18:084,34323,365,72512,825,0001,073,0002,113,536
4Jul 8, 2026 18:084,34823,448,27612,859,0001,056,0002,113,536
5Jul 8, 2026 18:084,34823,422,70012,891,0001,025,0002,113,536
6Jul 8, 2026 18:084,34923,428,94712,852,0001,065,0002,113,536
7Jul 8, 2026 18:084,34923,388,29212,857,0001,062,0002,113,536
8Jul 8, 2026 18:084,36523,429,35612,892,0001,079,0002,113,536
9Jul 8, 2026 18:084,36823,517,08712,903,0001,076,0002,113,536