0_0_33904640_18147.cpp:74:50: error: 'T' was not declared in this scope
double nowx=ansx+(rand()*2-RAND_MAX)*T;
^
0_0_33904640_18147.cpp:75:50: error: 'T' was not declared in this scope
double nowy=ansy+(rand()*2-RAND_MAX)*T;
^
0_0_33904640_18147.cpp:77:13: error: expected unqualified-id before 'if'
if(nowz==210000000.0){T*=0.99;continue;}
^
0_0_33904640_18147.cpp:79:13: error: expected unqualified-id before 'if'
if(delta<0)ansx=nowx,ansy=nowy,ansz=nowz;
^
0_0_33904640_18147.cpp:80:13: error: expected unqualified-id before 'else'
else if(exp(delta/T)*RAND_MAX<rand())ansx=nowx,ansy=nowy,ansz=nowz;
^
0_0_33904640_18147.cpp:81:13: error: 'T' does not name a type
T*=0.99;
^
0_0_33904640_18147.cpp:82:9: error: expected declaration before '}' token
}
^
|