foo.cc: In function 'int main()':
foo.cc:7:15: error: expected unqualified-id before '=' token
for(long long=a;i<=b;i++)
^
foo.cc:7:15: error: expected ';' before '=' token
foo.cc:7:15: error: expected primary-expression before '=' token
foo.cc:7:18: error: 'i' was not declared in this scope
for(long long=a;i<=b;i++)
^
foo.cc:7:22: error: expected ')' before ';' token
for(long long=a;i<=b;i++)
^
foo.cc:7:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(long long=a;i<=b;i++)
^~~
foo.cc:7:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(long long=a;i<=b;i++)
^
foo.cc:7:23: error: 'i' was not declared in this scope
[Hydro](https://hydro.ac)提供评测服务