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 listMay 16, 2026 05:47SODIUM IS NOT A CATSODIUM IS NOT A CATError
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2026 05:47031,939,72720,539,0001,092,0002,113,536expected "977749 ", got "7645 "
2May 16, 2026 05:47030,087,51020,290,0001,089,0002,113,536expected "977627 ", got "7815 "
3May 16, 2026 05:47033,002,69420,333,0001,121,0002,113,536expected "976702 ", got "7682 "