/in/foo.cc: In function 'int main()':
/in/foo.cc:5:3: warning: statement has no effect [-Wunused-value]
n<100000;
~^~~~~~~
/in/foo.cc:9:14: warning: comparison of constant '1000' with boolean expression is always true [-Wbool-compare]
0<numbers[n]<=1000;
~~~~~~~~~~~~^~~~~~
/in/foo.cc:9:3: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
0<numbers[n]<=1000;
~^~~~~~~~~~~
/in/foo.cc:9:14: warning: statement has no effect [-Wunused-value]
0<numbers[n]<=1000;
~~~~~~~~~~~~^~~~~~