/in/foo.cc: In function 'bool check(dian)':
/in/foo.cc:96:52: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
for(int i=old.x<rx?old.x:rx,j=old.x<rx?old.y:ry;i<=old.x<rx?rx:old.x&&j<=old.x<rx?ry:old.y;i++,j++){
~^~~~~~~
/in/foo.cc:96:74: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
for(int i=old.x<rx?old.x:rx,j=old.x<rx?old.y:ry;i<=old.x<rx?rx:old.x&&j<=old.x<rx?ry:old.y;i++,j++){
~^~~~~~~
/in/foo.cc:106:52: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
for(int i=old.x<rx?old.x:rx,j=old.x<rx?old.y:ry;i<=old.x<rx?rx:old.x&&j>=old.x<rx?ry:old.y;i++,j--){
~^~~~~~~
/in/foo.cc:106:74: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
for(int i=old.x<rx?old.x:rx,j=old.x<rx?old.y:ry;i<=old.x<rx?rx:old.x&&j>=old.x<rx?ry:old.y;i++,j--){
~^~~~~~~