0_0_25118581_5136\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_25118581_5136\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_25118581_5136\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_25118581_5136\Main.java:3: 错误: 非法字符: '#'
#include<cmath>
^
0_0_25118581_5136\Main.java:4: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_25118581_5136\Main.java:6: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_25118581_5136\Main.java:7: 错误: 需要class, interface或enum
const double EPS=1e-9;
^
0_0_25118581_5136\Main.java:8: 错误: 需要class, interface或enum
const int N=1e5+5;
^
0_0_25118581_5136\Main.java:9: 错误: 需要class, interface或enum
int n;
^
0_0_25118581_5136\Main.java:10: 错误: 需要class, interface或enum
struct node{
^
0_0_25118581_5136\Main.java:12: 错误: 需要class, interface或enum
double m;
^
0_0_25118581_5136\Main.java:13: 错误: 需要class, interface或enum
}a[N];
^
0_0_25118581_5136\Main.java:14: 错误: 需要class, interface或enum
bool cmp(node x,node y){
^
0_0_25118581_5136\Main.java:16: 错误: 需要class, interface或enum
else return x.m<y.m;
^
0_0_25118581_5136\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_25118581_5136\Main.java:20: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%lld",&a[i].e);
^
0_0_25118581_5136\Main.java:20: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%lld",&a[i].e);
^
0_0_25118581_5136\Main.java:21: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%lld",&a[i].k);
^
0_0_25118581_5136\Main.java:21: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%lld",&a[i].k);
^
0_0_25118581_5136\Main.java:21: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%lld",&a[i].k);
^
0_0_25118581_5136\Main.java:22: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) a[i].m=1.0*a[i].e/a[i].k;
^
0_0_25118581_5136\Main.java:22: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) a[i].m=1.0*a[i].e/a[i].k;
^
0_0_25118581_5136\Main.java:22: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) a[i].m=1.0*a[i].e/a[i].k;
^
0_0_25118581_5136\Main.java:23: 错误: 需要class, interface或enum
sort(a+1,a+1+n,cmp);
^
0_0_25118581_5136\Main.java:24: 错误: 需要class, interface或enum
ll ans=0,time=0;
^
0_0_25118581_5136\Main.java:25: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_25118581_5136\Main.java:25: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_25118581_5136\Main.java:25: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_25118581_5136\Main.java:27: 错误: 需要class, interface或enum
ans+=time*a[i].k;
^
0_0_25118581_5136\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_25118581_5136\Main.java:30: 错误: 需要class, interface或enum
}
^
31 个错误
|