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 listDec 29, 2025 20:25Mark R BestMark R BestScore: 5,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 20:255,51048,995,28516,595,0001,037,0002,359,296
2Dec 29, 2025 20:255,58342,779,31615,881,0001,985,0002,285,568
3Dec 29, 2025 20:255,58344,951,85517,866,00002,367,488
4Dec 29, 2025 20:255,58443,698,44916,878,000992,0002,367,488
5Dec 29, 2025 20:255,58544,438,14816,880,000992,0002,371,584
6Dec 29, 2025 20:255,58743,226,18215,892,0001,986,0002,285,568
7Dec 29, 2025 20:255,59142,262,24817,890,00002,285,568
8Dec 29, 2025 20:255,60643,546,45116,943,000996,0002,285,568
9Dec 29, 2025 20:255,61637,291,67716,974,000998,0002,285,568