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 listDec 21, 2025 22:26jhallgreenjhallgreenScore: 4,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2025 22:264,65132,323,83912,899,0001,984,0002,293,760
2Dec 21, 2025 22:264,65834,631,79913,911,000993,0002,293,760
3Dec 21, 2025 22:264,67143,955,19812,955,0001,993,0002,293,760
4Dec 21, 2025 22:264,67332,223,62412,960,0001,993,0002,293,760
5Dec 21, 2025 22:264,67439,461,04412,964,0001,994,0002,277,376
6Dec 21, 2025 22:264,74239,858,28713,152,0002,023,0002,269,184