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 listOct 5, 2026 13:08FrederickFrederickScore: 5,029Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 13:105,0156,025,013,46716,050,00002,113,536
2Oct 5, 2026 13:105,0216,024,868,01616,070,00002,113,536
3Oct 5, 2026 13:105,0216,024,894,86116,070,00002,113,536
4Oct 5, 2026 13:105,0276,025,073,60816,087,00002,113,536
5Oct 5, 2026 13:105,0296,025,098,77216,094,00002,113,536
6Oct 5, 2026 13:105,0296,024,998,52116,094,00002,113,536
7Oct 5, 2026 13:105,0296,025,087,27316,093,00002,113,536
8Oct 5, 2026 13:105,0646,025,205,98915,182,0001,025,0002,113,536
9Oct 5, 2026 13:105,0696,025,303,06015,213,0001,010,0002,113,536