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 15:51SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 4,990Success
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 15:514,96526,698,31815,888,00002,113,536
2May 16, 2026 15:514,98326,425,19314,910,0001,038,0002,113,536
3May 16, 2026 15:514,98425,239,26215,951,00002,113,536
4May 16, 2026 15:514,98727,492,16015,961,00002,113,536
5May 16, 2026 15:514,99027,438,33015,968,00002,113,536
6May 16, 2026 15:515,00327,648,64016,011,00002,113,536
7May 16, 2026 15:515,00724,609,79316,023,00002,113,536
8May 16, 2026 15:515,00928,214,02216,030,00002,113,536
9May 16, 2026 15:515,01026,950,51814,957,0001,078,0002,113,536