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 11:25IlyaIlyaScore: 4,957Success
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 11:254,92824,767,20015,772,00002,113,536
2Jun 3, 2026 11:254,93124,803,86814,774,0001,007,0002,113,536
3Jun 3, 2026 11:254,93524,912,41314,789,0001,004,0002,113,536
4Jun 3, 2026 11:254,95125,559,22014,826,0001,018,0002,113,536
5Jun 3, 2026 11:254,95724,937,29514,815,0001,050,0002,113,536
6Jun 3, 2026 11:254,96524,912,76414,843,0001,045,0002,113,536
7Jun 3, 2026 11:254,96924,968,33214,829,0001,073,0002,113,536
8Jun 3, 2026 11:254,97126,068,83814,870,0001,040,0002,113,536
9Jun 3, 2026 11:254,97824,940,02614,885,0001,046,0002,113,536