0_0_20488638_12450.cpp: In function 'double Evaluate(solve)':
0_0_20488638_12450.cpp:20:73: error: invalid operands of types 'double' and '<unresolved overloaded function type>' to binary 'operator<'
if ((tt.x-recx[i])*(tt.x-recx[i])+(tt.y-recy[i])*(tt.y-recy[i])<min) min="(tt.x-recx[i])*(tt.x-recx[i])+(tt.y-recy[i])*(tt.y-recy[i]);" return="" min;="" }="" void="" simulated_annealing()="" {="" double="" temper="X+Y,eps=1e-3,dx,dy;" int="" i,j;="" solve="" tmp;="" for="" (i="1;i<=50;i++)" tr[i].x="((rand()%1000+1)*1.0/1000.00)*X;" tr[i].y="((rand()%1000+1)*1.0/1000.00)*Y;" tr[i].val="Evaluate(tr[i]);" while="" (temper="">eps)
^
0_0_20488638_12450.cpp:20:81: error: overloaded function with no contextual type information
if ((tt.x-recx[i])*(tt.x-recx[i])+(tt.y-recy[i])*(tt.y-recy[i])<min) min="(tt.x-recx[i])*(tt.x-recx[i])+(tt.y-recy[i])*(tt.y-recy[i]);" return="" min;="" }="" void="" simulated_annealing()="" {="" double="" temper="X+Y,eps=1e-3,dx,dy;" int="" i,j;="" solve="" tmp;="" for="" (i="1;i<=50;i++)" tr[i].x="((rand()%1000+1)*1.0/1000.00)*X;" tr[i].y="((rand()%1000+1)*1.0/1000.00)*Y;" tr[i].val="Evaluate(tr[i]);" while="" (temper="">eps)
^
0_0_20488638_12450.cpp:20:159: error: expected primary-expression before '=' token
if ((tt.x-recx[i])*(tt.x-recx[i])+(tt.y-recy[i])*(tt.y-recy[i])<min) min="(tt.x-recx[i])*(tt.x-recx[i])+(tt.y-recy[i])*(tt.y-recy[i]);" return="" min;="" }="" void="" simulated_annealing()="" {="" double="" temper="X+Y,eps=1e-3,dx,dy;" int="" i,j;="" solve="" tmp;="" for="" (i="1;i<=50;i++)" tr[i].x="((rand()%1000+1)*1.0/1000.00)*X;" tr[i].y="((rand()%1000+1)*1.0/1000.00)*Y;" tr[i].val="Evaluate(tr[i]);" while="" (temper="">eps)
^
0_0_20488638_12450.cpp: At global scope:
0_0_20488638_12450.cpp:20:164: error: expected unqualified-id before '=' token
if ((tt.x-recx[i])*(tt.x-recx[i])+(tt.y-recy[i])*(tt.y-recy[i])<min) min="(tt.x-recx[i])*(tt.x-recx[i])+(tt.y-recy[i])*(tt.y-recy[i]);" return="" min;="" }="" void="" simulated_annealing()="" {="" double="" temper="X+Y,eps=1e-3,dx,dy;" int="" i,j;="" solve="" tmp;="" for="" (i="1;i<=50;i++)" tr[i].x="((rand()%1000+1)*1.0/1000.00)*X;" tr[i].y="((rand()%1000+1)*1.0/1000.00)*Y;" tr[i].val="Evaluate(tr[i]);" while="" (temper="">eps)
^
|