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 11:42FrederickFrederickScore: 4,222Success
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 11:434,2083,022,462,24513,468,00002,113,536
2Oct 5, 2026 11:434,2123,022,492,42113,480,00002,113,536
3Oct 5, 2026 11:434,2153,022,462,65513,489,00002,113,536
4Oct 5, 2026 11:434,2163,022,419,54913,493,00002,113,536
5Oct 5, 2026 11:434,2223,022,513,16013,511,00002,113,536
6Oct 5, 2026 11:434,2223,022,583,72913,512,00002,113,536
7Oct 5, 2026 11:434,2333,022,415,74113,547,00002,113,536
8Oct 5, 2026 11:434,2363,022,522,25813,557,00002,113,536
9Oct 5, 2026 11:434,2383,022,645,94213,562,00002,113,536