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 listApr 13, 2026 02:19Joad NacerJoad NacerScore: 5,322Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2026 02:195,16942,282,26715,509,0001,033,0002,428,928
2Apr 13, 2026 02:195,32238,789,25316,029,0001,001,0002,535,424
3Apr 13, 2026 02:195,34347,757,30515,088,0002,011,0002,273,280