0_0_39060231_24286.cpp:17:14: error: expected unqualified-id before 'double'
17 | double a,double b;
| ^~~~~~
0_0_39060231_24286.cpp: In function 'set sloveset(double, double)':
0_0_39060231_24286.cpp:27:14: error: 'struct set' has no member named 'b'
27 | seta.b=(360-d-b)/a;
| ^
0_0_39060231_24286.cpp:30:14: error: 'struct set' has no member named 'b'
30 | seta.b=(d-b)/a;
| ^
0_0_39060231_24286.cpp:34:13: error: 'struct set' has no member named 'b'
34 | if(seta.b>60) seta.b=60;
| ^
0_0_39060231_24286.cpp:34:24: error: 'struct set' has no member named 'b'
34 | if(seta.b>60) seta.b=60;
| ^
0_0_39060231_24286.cpp:35:21: error: 'struct set' has no member named 'b'
35 | if(seta.a>=seta.b) seta.a=seta.b=0;//之前这句放到了if(seta.a<0)if(seta.b>60)前面了
| ^
0_0_39060231_24286.cpp:35:36: error: 'struct set' has no member named 'b'
35 | if(seta.a>=seta.b) seta.a=seta.b=0;//之前这句放到了if(seta.a<0)if(seta.b>60)前面了
| ^
0_0_39060231_24286.cpp: In function 'set intersection(set, set)':
0_0_39060231_24286.cpp:44:7: error: 'struct set' has no member named 'b'
44 | p.b=a.b<b.b ?a.b:b.b;
| ^
0_0_39060231_24286.cpp:44:11: error: 'struct set' has no member named 'b'
44 | p.b=a.b<b.b ?a.b:b.b;
| ^
0_0_39060231_24286.cpp:44:15: error: 'struct set' has no member named 'b'
44 | p.b=a.b<b.b ?a.b:b.b;
| ^
0_0_39060231_24286.cpp:44:20: error: 'struct set' has no member named 'b'
44 | p.b=a.b<b.b ?a.b:b.b;
| ^
0_0_39060231_24286.cpp:44:24: error: 'struct set' has no member named 'b'
44 | p.b=a.b<b.b ?a.b:b.b;
| ^
0_0_39060231_24286.cpp:45:14: error: 'struct set' has no member named 'b'
45 | if(p.a>p.b) p.a=p.b=0;
| ^
0_0_39060231_24286.cpp:45:23: error: 'struct set' has no member named 'b'
45 | if(p.a>p.b) p.a=p.b=0;
| ^
0_0_39060231_24286.cpp: In function 'int main()':
0_0_39060231_24286.cpp:68:44: error: 'struct set' has no member named 'b'
68 | time+=ensemble.b-ensemble.a;
| ^
|