foo.cc: In function 'int main()':
foo.cc:6:13: warning: comparison of constant '10000' with boolean expression is always true [-Wbool-compare]
if(-10000<a<10000&&-10000<b<10000&&-10000<c<10000);
~~~~~~~~^~~~~~
foo.cc:6:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(-10000<a<10000&&-10000<b<10000&&-10000<c<10000);
~~~~~~^~
foo.cc:6:29: warning: comparison of constant '10000' with boolean expression is always true [-Wbool-compare]
if(-10000<a<10000&&-10000<b<10000&&-10000<c<10000);
~~~~~~~~^~~~~~
foo.cc:6:27: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(-10000<a<10000&&-10000<b<10000&&-10000<c<10000);
~~~~~~^~
foo.cc:6:45: warning: comparison of constant '10000' with boolean expression is always true [-Wbool-compare]
if(-10000<a<10000&&-10000<b<10000&&-10000<c<10000);
~~~~~~~~^~~~~~
foo.cc:6:43: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(-10000<a<10000&&-10000<b<10000&&-10000<c<10000);
~~~~~~^~
[Hydro](https://hydro.ac)提供评测服务