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 7, 2022 19:47Egor SergeevEgor SergeevScore: 5,553Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2022 19:505,52973,154,01017,692,53602,244,608
2Apr 7, 2022 19:475,53082,039,45217,697,02602,240,512
3Apr 7, 2022 19:505,53570,832,45417,711,31302,236,416
4Apr 7, 2022 19:475,55366,146,03917,769,82402,244,608
5Apr 7, 2022 19:475,56861,443,99717,819,11702,240,512
6Apr 7, 2022 19:505,59858,058,04217,915,09502,236,416