Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:5:12: error: expected initializer before '+' token int n,n+1; ^ /in/foo.cc:7:14: error: lvalue required as decrement operand while(n+1--){scanf("%n+1",&n);if(n>n+1)n=n+1;} ^~ /in/foo.cc:8:20: warning: format '%n' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] printf("%n+!",n); ^ /in/foo.cc:10:1: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] } ^