0_0_29936024_6482\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_29936024_6482\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_29936024_6482\Main.java:5: 错误: 需要class, interface或enum
using namespace std;
^
0_0_29936024_6482\Main.java:6: 错误: 需要class, interface或enum
int h[10010];
^
0_0_29936024_6482\Main.java:7: 错误: 需要class, interface或enum
int b[10010];
^
0_0_29936024_6482\Main.java:8: 错误: 需要class, interface或enum
int n;
^
0_0_29936024_6482\Main.java:9: 错误: 需要class, interface或enum
int d;
^
0_0_29936024_6482\Main.java:10: 错误: 需要class, interface或enum
bool ok(double mid){
^
0_0_29936024_6482\Main.java:12: 错误: 需要class, interface或enum
for(int i=0;i<n;i++){
^
0_0_29936024_6482\Main.java:12: 错误: 需要class, interface或enum
for(int i=0;i<n;i++){
^
0_0_29936024_6482\Main.java:12: 错误: 需要class, interface或enum
for(int i=0;i<n;i++){
^
0_0_29936024_6482\Main.java:14: 错误: 需要class, interface或enum
double s1=(h1*b1*b1)/3.0;
^
0_0_29936024_6482\Main.java:15: 错误: 需要class, interface或enum
s+=s1;
^
0_0_29936024_6482\Main.java:16: 错误: 需要class, interface或enum
x+=((h[i]*b[i]*b[i])/3.0)-s1;
^
0_0_29936024_6482\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_29936024_6482\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_29936024_6482\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_29936024_6482\Main.java:30: 错误: 需要class, interface或enum
cin>>t;
^
0_0_29936024_6482\Main.java:31: 错误: 需要class, interface或enum
while(t--){
^
0_0_29936024_6482\Main.java:34: 错误: 需要class, interface或enum
d=1010;
^
0_0_29936024_6482\Main.java:35: 错误: 需要class, interface或enum
for(int i=0;i<n;i++){
^
0_0_29936024_6482\Main.java:35: 错误: 需要class, interface或enum
for(int i=0;i<n;i++){
^
0_0_29936024_6482\Main.java:35: 错误: 需要class, interface或enum
for(int i=0;i<n;i++){
^
0_0_29936024_6482\Main.java:37: 错误: 需要class, interface或enum
if(d>h[i]){
^
0_0_29936024_6482\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_29936024_6482\Main.java:41: 错误: 需要class, interface或enum
for(int i=0;i<n;i++){
^
0_0_29936024_6482\Main.java:41: 错误: 需要class, interface或enum
for(int i=0;i<n;i++){
^
0_0_29936024_6482\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_29936024_6482\Main.java:46: 错误: 需要class, interface或enum
l=0;
^
0_0_29936024_6482\Main.java:47: 错误: 需要class, interface或enum
r=d;
^
0_0_29936024_6482\Main.java:49: 错误: 需要class, interface或enum
while (l + eps < r){
^
0_0_29936024_6482\Main.java:51: 错误: 需要class, interface或enum
if (ok (mid)){
^
0_0_29936024_6482\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_29936024_6482\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_29936024_6482\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_29936024_6482\Main.java:63: 错误: 需要class, interface或enum
}
^
36 个错误
|