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:09SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 4,938Success
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:094,90026,178,82115,683,00002,113,536
2May 16, 2026 15:094,90525,013,68515,699,00002,113,536
3May 16, 2026 15:094,92425,276,66514,751,0001,007,0002,113,536
4May 16, 2026 15:094,93224,553,85514,775,0001,010,0002,113,536
5May 16, 2026 15:094,93824,608,66215,803,00002,113,536
6May 16, 2026 15:094,94024,519,58314,760,0001,048,0002,113,536
7May 16, 2026 15:094,94324,400,34115,818,00002,113,536
8May 16, 2026 15:094,96727,042,09814,889,0001,008,0002,113,536
9May 16, 2026 15:094,99927,821,75314,958,0001,041,0002,113,536