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 11, 2024 23:23MatthiasMatthiasScore: 4,816Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 11, 2024 23:234,78830,231,81114,302,0001,021,0002,281,472
2Dec 11, 2024 23:234,80332,545,19713,322,0002,049,0002,277,376
3Dec 11, 2024 23:234,81035,487,94114,365,0001,026,0002,383,872
4Dec 11, 2024 23:234,81638,138,28114,385,0001,027,0002,265,088
5Dec 11, 2024 23:234,81632,621,00314,383,0001,027,0002,285,568
6Dec 11, 2024 23:234,85434,759,74615,533,00002,265,088