/in/foo.cc: In function 'int main()':
/in/foo.cc:6:16: warning: comparison of constant '1000000000' with boolean expression is always true [-Wbool-compare]
while (1<=P<=1000000000);
~~~~^~~~~~~~~~~~
/in/foo.cc:6:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
while (1<=P<=1000000000);
~^~~
/in/foo.cc:7:6: warning: statement has no effect [-Wunused-value]
1<=ai;
~^~~~
/in/foo.cc:8:7: warning: statement has no effect [-Wunused-value]
bi<=0;
~~^~~
/in/foo.cc:9:10: warning: comparison of constant '1000' with boolean expression is always true [-Wbool-compare]
0<=ci<=1000;
~~~~~^~~~~~
/in/foo.cc:9:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
0<=ci<=1000;
~^~~~
/in/foo.cc:9:10: warning: statement has no effect [-Wunused-value]
0<=ci<=1000;
~~~~~^~~~~~
/in/foo.cc:10:6: warning: statement has no effect [-Wunused-value]
d>=1;
~^~~
/in/foo.cc:11:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=]
printf("%d\n",&T);
^
/in/foo.cc:12:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=]
{printf("%d\n%d\n%d\n%d\n",&N,&M,&K,&P);
^
/in/foo.cc:12:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int*' [-Wformat=]
/in/foo.cc:12:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int*' [-Wformat=]
/in/foo.cc:12:43: warning: format '%d' expects argument of type 'int', but argument 5 has type 'int*' [-Wformat=]
/in/foo.cc:13:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=]
{printf("%d\n-%d\n%d\n",&ai,&bi,&ci);}}
^
/in/foo.cc:13:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int*' [-Wformat=]
/in/foo.cc:13:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int*' [-Wformat=]
/in/foo.cc:16:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=]
printf ("%d\n",&d);
^