0_0_31191070_21566\Main.java:1: 错误: 非法字符: '#'
#include <cmath>
^
0_0_31191070_21566\Main.java:1: 错误: 需要class, interface或enum
#include <cmath>
^
0_0_31191070_21566\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_31191070_21566\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_31191070_21566\Main.java:7: 错误: 需要class, interface或enum
double s(double x, double h) {
^
0_0_31191070_21566\Main.java:9: 错误: 需要class, interface或enum
return 2 * std::sqrt(2 * x - x * x);
^
0_0_31191070_21566\Main.java:10: 错误: 需要class, interface或enum
}
^
0_0_31191070_21566\Main.java:14: 错误: 需要class, interface或enum
double th = 2 * std::acos(x - 1);
^
0_0_31191070_21566\Main.java:15: 错误: 需要class, interface或enum
return 2 * pi - th + std::sin(th);
^
0_0_31191070_21566\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_31191070_21566\Main.java:21: 错误: 需要class, interface或enum
return (f(x, a) + f(x, b) + 4 * f(x, c)) * (b - a) / 6;
^
0_0_31191070_21566\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_31191070_21566\Main.java:27: 错误: 需要class, interface或enum
double mid = simpson(f, x, a, b), l = simpson(f, x, a, c), r = simpson(f, x, c, b);
^
0_0_31191070_21566\Main.java:28: 错误: 需要class, interface或enum
if (std::abs(l + r - mid) <= 15 * eps)
^
0_0_31191070_21566\Main.java:30: 错误: 需要class, interface或enum
else
^
0_0_31191070_21566\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_31191070_21566\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_31191070_21566\Main.java:41: 错误: 需要class, interface或enum
int main() {
^
0_0_31191070_21566\Main.java:43: 错误: 需要class, interface或enum
scanf("%d", &T);
^
0_0_31191070_21566\Main.java:44: 错误: 需要class, interface或enum
while (T--) {
^
0_0_31191070_21566\Main.java:46: 错误: 需要class, interface或enum
if (d >= 1) {
^
0_0_31191070_21566\Main.java:48: 错误: 需要class, interface或enum
} else {
^
0_0_31191070_21566\Main.java:50: 错误: 需要class, interface或enum
double l = 0, r = 2;
^
0_0_31191070_21566\Main.java:51: 错误: 需要class, interface或enum
for (int i = 1; i <= 100; i++) {
^
0_0_31191070_21566\Main.java:51: 错误: 需要class, interface或enum
for (int i = 1; i <= 100; i++) {
^
0_0_31191070_21566\Main.java:51: 错误: 需要class, interface或enum
for (int i = 1; i <= 100; i++) {
^
0_0_31191070_21566\Main.java:53: 错误: 需要class, interface或enum
(calc(v, m) <= V ? l : r) = m;
^
0_0_31191070_21566\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_31191070_21566\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_31191070_21566\Main.java:59: 错误: 需要class, interface或enum
}
^
30 个错误
|