expgorl.cpp: In function 'int main()':
expgorl.cpp:20:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<s.size();j++){
~^~~~~~~~~
expgorl.cpp:27:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(s[j]=='B')
^~
expgorl.cpp:30:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
t=sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2));
^
expgorl.cpp:19:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0;i<k;i++)
^~~
expgorl.cpp:40:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
cout<<fixed<<setprecision(9)<<mn<<' '<<fixed<<setprecision(9)<<mx;
^~~~