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 19:17FrederickFrederickScore: 8,711Success
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 19:198,2666,039,473,37815,682,00010,771,00020,480
2Oct 5, 2026 19:198,2926,035,585,61215,671,00010,864,00020,480
3Oct 5, 2026 19:198,5106,037,653,02315,753,00011,480,0002,113,536
4Oct 5, 2026 19:198,6256,036,714,96415,794,00011,807,0002,113,536
5Oct 5, 2026 19:198,7116,036,883,33015,720,00012,156,0002,113,536
6Oct 5, 2026 19:198,7366,037,013,42915,733,00012,225,0002,113,536
7Oct 5, 2026 19:198,7626,037,207,11115,764,00012,276,0002,113,536
8Oct 5, 2026 19:198,8106,037,151,34715,767,00012,428,0002,113,536
9Oct 5, 2026 19:199,0606,038,045,73915,900,00013,093,0002,113,536