automobil.cpp: In function 'int main()':
automobil.cpp:17:10: error: expected unqualified-id before '=' token
17 | for (ll = 0, k, x, y; i < K; ++i) {
| ^
automobil.cpp:17:9: error: expected ';' before '=' token
17 | for (ll = 0, k, x, y; i < K; ++i) {
| ^~
| ;
automobil.cpp:17:10: error: expected primary-expression before '=' token
17 | for (ll = 0, k, x, y; i < K; ++i) {
| ^
automobil.cpp:17:15: error: 'k' was not declared in this scope
17 | for (ll = 0, k, x, y; i < K; ++i) {
| ^
automobil.cpp:17:18: error: 'x' was not declared in this scope
17 | for (ll = 0, k, x, y; i < K; ++i) {
| ^
automobil.cpp:17:21: error: 'y' was not declared in this scope
17 | for (ll = 0, k, x, y; i < K; ++i) {
| ^
automobil.cpp:17:24: error: 'i' was not declared in this scope
17 | for (ll = 0, k, x, y; i < K; ++i) {
| ^
automobil.cpp:17:29: error: expected ')' before ';' token
17 | for (ll = 0, k, x, y; i < K; ++i) {
| ~ ^
| )
automobil.cpp:17:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
17 | for (ll = 0, k, x, y; i < K; ++i) {
| ^~~
automobil.cpp:17:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17 | for (ll = 0, k, x, y; i < K; ++i) {
| ^~
automobil.cpp:17:33: error: 'i' was not declared in this scope
17 | for (ll = 0, k, x, y; i < K; ++i) {
| ^
automobil.cpp:26:10: error: expected unqualified-id before '=' token
26 | for (ll = 1; i <= M; ++i) {
| ^
automobil.cpp:26:9: error: expected ';' before '=' token
26 | for (ll = 1; i <= M; ++i) {
| ^~
| ;
automobil.cpp:26:10: error: expected primary-expression before '=' token
26 | for (ll = 1; i <= M; ++i) {
| ^
automobil.cpp:26:21: error: expected ')' before ';' token
26 | for (ll = 1; i <= M; ++i) {
| ~ ^
| )
automobil.cpp:26:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
26 | for (ll = 1; i <= M; ++i) {
| ^~~
automobil.cpp:26:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
26 | for (ll = 1; i <= M; ++i) {
| ^~