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 30, 2024 04:06BenBenScore: 5,182Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 04:065,13139,339,83515,392,0001,026,0002,392,064
2Jul 30, 2024 04:065,13331,723,88915,398,0001,026,0002,527,232
3Jul 30, 2024 04:065,15342,102,27116,489,00002,392,064
4Jul 30, 2024 04:065,16337,785,26715,491,0001,032,0002,396,160
5Jul 30, 2024 04:065,17839,111,51815,533,0001,035,0002,265,088
6Jul 30, 2024 04:065,17840,364,83415,536,0001,035,0002,265,088
7Jul 30, 2024 04:065,18240,773,98815,545,0001,036,0002,383,872
8Jul 30, 2024 04:065,18942,911,60415,568,0001,037,0002,383,872
9Jul 30, 2024 04:065,19943,294,46615,598,0001,039,0002,265,088
10Jul 30, 2024 04:065,37392,786,72317,195,13402,285,568
11Jul 30, 2024 04:065,40387,961,93017,290,40002,285,568
12Jul 30, 2024 04:065,41691,202,23317,332,61002,289,664