/in/foo.cc: In function 'int main()':
/in/foo.cc:18:11: error: expected ')' before ';' token
if(i=1;i<=n-1;i++) a[i+1]>=a[i],d=d+1;//特判:1~3组数据
^
/in/foo.cc:18:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/in/foo.cc:18:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(i=1;i<=n-1;i++) a[i+1]>=a[i],d=d+1;//特判:1~3组数据
^~
/in/foo.cc:18:12: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(i=1;i<=n-1;i++) a[i+1]>=a[i],d=d+1;//特判:1~3组数据
^
/in/foo.cc:18:13: warning: statement has no effect [-Wunused-value]
if(i=1;i<=n-1;i++) a[i+1]>=a[i],d=d+1;//特判:1~3组数据
~^~~~~
/in/foo.cc:18:22: error: expected ';' before ')' token
if(i=1;i<=n-1;i++) a[i+1]>=a[i],d=d+1;//特判:1~3组数据
^