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 13:26IlyaIlyaScore: 4,360Success
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 13:264,34324,428,78912,893,0001,005,0002,113,536
2Jun 3, 2026 13:264,34322,934,34313,898,00002,113,536
3Jun 3, 2026 13:264,34522,894,78312,892,0001,012,0002,113,536
4Jun 3, 2026 13:264,35323,048,72612,925,0001,006,0002,113,536
5Jun 3, 2026 13:264,36022,931,14513,955,00002,113,536
6Jun 3, 2026 13:264,36123,017,64913,958,00002,113,536
7Jun 3, 2026 13:264,36523,040,66412,925,0001,044,0002,113,536
8Jun 3, 2026 13:264,38322,895,35012,998,0001,028,0002,113,536
9Jun 3, 2026 13:264,39223,218,86412,973,0001,084,0002,113,536