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