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 17:18FrederickFrederickScore: 4,665Success
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 17:224,6486,023,855,75414,876,00002,113,536
2Oct 5, 2026 17:224,6536,023,901,62914,891,00002,113,536
3Oct 5, 2026 17:224,6586,023,948,05114,907,00002,113,536
4Oct 5, 2026 17:224,6606,023,939,78614,915,00002,113,536
5Oct 5, 2026 17:224,6656,023,992,94514,929,00002,113,536
6Oct 5, 2026 17:224,6676,023,910,13714,936,00002,113,536
7Oct 5, 2026 17:224,6686,023,778,71814,940,00002,113,536
8Oct 5, 2026 17:224,6776,023,935,90914,967,00002,113,536
9Oct 5, 2026 17:224,6906,024,059,11714,006,0001,003,0002,113,536