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 04:21FrederickFrederickScore: 4,290Success
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 04:214,2732,022,673,75213,674,00002,113,536
2Oct 5, 2026 04:214,2752,022,727,53213,680,00002,113,536
3Oct 5, 2026 04:214,2772,022,643,65313,688,00002,113,536
4Oct 5, 2026 04:214,2842,022,662,20913,711,00002,113,536
5Oct 5, 2026 04:214,2902,023,450,32513,730,00002,113,536
6Oct 5, 2026 04:214,2952,022,762,95713,745,00002,113,536
7Oct 5, 2026 04:214,3232,022,873,91112,833,0001,003,0002,113,536
8Oct 5, 2026 04:214,3362,022,827,06412,825,0001,053,0002,113,536
9Oct 5, 2026 04:214,3402,022,987,69112,843,0001,045,0002,113,536