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 listJul 7, 2021 18:35Yuriy LyfenkoYuriy LyfenkoScore: 5,244Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2021 18:355,178542,881,10016,568,00002,293,760
2Jul 7, 2021 18:355,242543,117,26816,774,00002,285,568
3Jul 7, 2021 18:355,243547,170,65215,790,000986,0002,285,568
4Jul 7, 2021 18:355,243545,132,49614,803,0001,973,0002,293,760
5Jul 7, 2021 18:355,243542,021,85514,805,0001,974,0002,293,760
6Jul 7, 2021 18:355,244545,651,79415,794,000987,0002,293,760
7Jul 7, 2021 18:355,244549,015,99014,808,0001,974,0002,293,760
8Jul 7, 2021 18:355,247542,589,31114,815,0001,975,0002,293,760
9Jul 7, 2021 18:355,253542,754,32415,823,000988,0002,285,568
10Jul 7, 2021 18:355,366575,644,24017,171,86002,174,976
11Jul 7, 2021 18:355,373581,705,31417,192,44102,260,992
12Jul 7, 2021 18:355,425568,735,82317,358,55002,293,760