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:15FrederickFrederickScore: 4,212Success
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:164,2003,022,497,67313,441,00002,113,536
2Oct 5, 2026 11:164,2023,022,459,26813,448,00002,113,536
3Oct 5, 2026 11:164,2093,022,521,20313,469,00002,113,536
4Oct 5, 2026 11:164,2103,022,531,16113,473,00002,113,536
5Oct 5, 2026 11:164,2123,022,445,45513,481,00002,113,536
6Oct 5, 2026 11:164,2133,022,745,15813,483,00002,113,536
7Oct 5, 2026 11:164,2243,022,504,82313,518,00002,113,536
8Oct 5, 2026 11:164,2873,022,742,24512,634,0001,085,0002,113,536
9Oct 5, 2026 11:164,3013,022,675,10312,684,0001,081,0002,113,536