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 listMay 16, 2021 09:44alex3dalex3dScore: 6,304Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 09:436,2603,003,482,57220,033,00702,285,568
2May 16, 2021 09:446,269770,053,52820,059,55402,289,664
3May 16, 2021 09:446,2702,084,089,30020,064,64902,289,664
4May 16, 2021 10:096,2723,763,910,37820,069,67002,285,568
5May 16, 2021 10:096,277384,889,92820,085,22402,289,664
6May 16, 2021 09:446,2941,791,210,30420,140,64302,285,568
7May 16, 2021 09:436,3044,682,654,13820,172,55502,285,568
8May 16, 2021 09:446,3064,631,104,12720,179,47902,289,664
9May 16, 2021 09:446,312625,915,46720,197,79802,285,568
10May 16, 2021 09:446,3191,319,517,55520,219,20002,285,568
11May 16, 2021 09:436,3563,263,459,30620,340,31102,285,568
12May 16, 2021 10:096,3582,319,104,21720,344,85602,281,472