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:02FrederickFrederickScore: 4,505Success
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:024,47024,757,05413,287,0001,020,0002,113,536
2Oct 5, 2026 11:024,47524,694,14713,297,0001,025,0002,113,536
3Oct 5, 2026 11:024,47524,709,21513,291,0001,029,0002,113,536
4Oct 5, 2026 11:024,49726,140,79713,351,0001,040,0002,113,536
5Oct 5, 2026 11:024,50524,883,11213,317,0001,100,0002,113,536
6Oct 5, 2026 11:024,50825,561,45913,312,0001,116,0002,113,536
7Oct 5, 2026 11:024,51325,658,29013,342,0001,100,0002,113,536
8Oct 5, 2026 11:024,51324,851,90613,347,0001,097,0002,113,536
9Oct 5, 2026 11:024,53226,510,23313,386,0001,117,0002,113,536