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 listNov 25, 2024 22:17Dmitrii KravchenkoDmitrii KravchenkoScore: 4,872Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 25, 2024 22:174,86633,314,19315,572,00002,265,088
2Nov 25, 2024 22:174,87237,604,25214,551,0001,039,0002,375,680
3Nov 25, 2024 22:174,88736,260,42213,553,0002,085,0002,281,472