• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

计算公式:

(n1)p=I j;result=(1j)arrjarr[I 1]

参数描述

-

n:一维数组中值的个数

比如array([1,2,3,4,5,6,7,8,9]),n=9;

P:要计算的百分位,[0,100]上的整数,代表位置;

比如30就是30%;

I:是计算值的整数部分。

比如,(9-1) 0.3=2.4,I=2;

j:是计算后的小数部分,j=0.4;

最后的结果是:

result=(1j)arrjarr[I 1]=(1-0.4)arr[2]0.4 x arr[2 1]

=0.6 x 3 0.4 x 4

=3.4

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now