0_0_33258497_13194\Main.java:1: 错误: 非法字符: '#'
#include "iostream"
^
0_0_33258497_13194\Main.java:1: 错误: 需要class, interface或enum
#include "iostream"
^
0_0_33258497_13194\Main.java:2: 错误: 非法字符: '#'
#include <iomanip>
^
0_0_33258497_13194\Main.java:4: 错误: 需要class, interface或enum
struct Segment//区间结构
^
0_0_33258497_13194\Main.java:7: 错误: 需要class, interface或enum
};
^
0_0_33258497_13194\Main.java:9: 错误: 需要class, interface或enum
Segment operator *(Segment S1,Segment S2){
^
0_0_33258497_13194\Main.java:11: 错误: 需要class, interface或enum
seg.a=S1.a>S2.a?S1.a:S2.a;
^
0_0_33258497_13194\Main.java:12: 错误: 需要class, interface或enum
seg.b=S1.b<S2.b?S1.b:S2.b;
^
0_0_33258497_13194\Main.java:13: 错误: 需要class, interface或enum
if (seg.a>seg.b)
^
0_0_33258497_13194\Main.java:15: 错误: 需要class, interface或enum
return seg;
^
0_0_33258497_13194\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_33258497_13194\Main.java:21: 错误: 需要class, interface或enum
Segment makeSeg1(double,double);
^
0_0_33258497_13194\Main.java:23: 错误: 需要class, interface或enum
Segment makeSeg2(double,double);
^
0_0_33258497_13194\Main.java:25: 错误: 需要class, interface或enum
int main(){
^
0_0_33258497_13194\Main.java:30: 错误: 需要class, interface或enum
for (int H = 0; H < 12; H++)
^
0_0_33258497_13194\Main.java:30: 错误: 需要class, interface或enum
for (int H = 0; H < 12; H++)
^
0_0_33258497_13194\Main.java:30: 错误: 需要class, interface或enum
for (int H = 0; H < 12; H++)
^
0_0_33258497_13194\Main.java:32: 错误: 需要class, interface或enum
for (int M = 0; M < 60; M++)
^
0_0_33258497_13194\Main.java:32: 错误: 需要class, interface或enum
for (int M = 0; M < 60; M++)
^
0_0_33258497_13194\Main.java:36: 错误: 需要class, interface或enum
double a,b;
^
0_0_33258497_13194\Main.java:37: 错误: 需要class, interface或enum
a=30.0*H-5.5*M;
^
0_0_33258497_13194\Main.java:38: 错误: 需要class, interface或enum
b=11.0/120;//时针-分针
^
0_0_33258497_13194\Main.java:39: 错误: 需要class, interface或enum
S[0][0]=makeSeg1(a,b);
^
0_0_33258497_13194\Main.java:40: 错误: 需要class, interface或enum
S[0][1]=makeSeg2(a,b);
^
0_0_33258497_13194\Main.java:41: 错误: 需要class, interface或enum
a=30.0*H+0.5*M;
^
0_0_33258497_13194\Main.java:42: 错误: 需要class, interface或enum
b=719.0/120;//秒针-时针
^
0_0_33258497_13194\Main.java:43: 错误: 需要class, interface或enum
S[1][0]=makeSeg1(a,b);
^
0_0_33258497_13194\Main.java:44: 错误: 需要class, interface或enum
S[1][1]=makeSeg2(a,b);
^
0_0_33258497_13194\Main.java:45: 错误: 需要class, interface或enum
a=6.0*M;
^
0_0_33258497_13194\Main.java:46: 错误: 需要class, interface或enum
b=5.9;//秒针-分针
^
0_0_33258497_13194\Main.java:47: 错误: 需要class, interface或enum
S[2][0]=makeSeg1(a,b);
^
0_0_33258497_13194\Main.java:48: 错误: 需要class, interface或enum
S[2][1]=makeSeg2(a,b);
^
0_0_33258497_13194\Main.java:50: 错误: 需要class, interface或enum
for (int i = 0; i < 2; i++)
^
0_0_33258497_13194\Main.java:50: 错误: 需要class, interface或enum
for (int i = 0; i < 2; i++)
^
0_0_33258497_13194\Main.java:50: 错误: 需要class, interface或enum
for (int i = 0; i < 2; i++)
^
0_0_33258497_13194\Main.java:51: 错误: 需要class, interface或enum
for (int j = 0; j < 2; j++)
^
0_0_33258497_13194\Main.java:51: 错误: 需要class, interface或enum
for (int j = 0; j < 2; j++)
^
0_0_33258497_13194\Main.java:52: 错误: 需要class, interface或enum
for (int k = 0; k < 2; k++)
^
0_0_33258497_13194\Main.java:52: 错误: 需要class, interface或enum
for (int k = 0; k < 2; k++)
^
0_0_33258497_13194\Main.java:55: 错误: 需要class, interface或enum
toLen+=TS.b-TS.a;
^
0_0_33258497_13194\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_33258497_13194\Main.java:63: 错误: 需要class, interface或enum
}
^
0_0_33258497_13194\Main.java:65: 错误: 需要class, interface或enum
return 0;
^
0_0_33258497_13194\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_33258497_13194\Main.java:70: 错误: 需要class, interface或enum
seg.a=(D+a)/b,seg.b=(360.0-D+a)/b;
^
0_0_33258497_13194\Main.java:71: 错误: 需要class, interface或enum
if (seg.a<0.0) seg.a=0.0;
^
0_0_33258497_13194\Main.java:72: 错误: 需要class, interface或enum
if (seg.b>60.0)seg.b=60.0;
^
0_0_33258497_13194\Main.java:73: 错误: 需要class, interface或enum
if (seg.a>=seg.b)
^
0_0_33258497_13194\Main.java:75: 错误: 需要class, interface或enum
return seg;
^
0_0_33258497_13194\Main.java:76: 错误: 需要class, interface或enum
}
^
0_0_33258497_13194\Main.java:80: 错误: 需要class, interface或enum
seg.a=(a+D-360.0)/b,seg.b=(a-D)/b;
^
0_0_33258497_13194\Main.java:81: 错误: 需要class, interface或enum
if (seg.a<0.0)
^
0_0_33258497_13194\Main.java:83: 错误: 需要class, interface或enum
if (seg.b>60.0)
^
0_0_33258497_13194\Main.java:85: 错误: 需要class, interface或enum
if (seg.a>=seg.b)
^
0_0_33258497_13194\Main.java:87: 错误: 需要class, interface或enum
return seg;
^
0_0_33258497_13194\Main.java:88: 错误: 需要class, interface或enum
}
^
56 个错误
|