文章
34
粉丝
329
获赞
1
访问
282.4k
import java.util.*;
class bombing{
private int sum;
private double a[],k[];
bombing(int sum,double a[]){
this.sum=sum;
this.a=a;
k=new double[sum-1];
}
void slope() {
int x=0;
for(int i=0;i<sum-1;i++) {
k[i]=(a[x+3]-a[1])/(a[x+2]-a[0]);
x=x+2;
}
int max=judge(k);
System.out.println(max);
}
int judge(double k[]) {
int length=k...
登录后发布评论
暂无评论,来抢沙发