Borderou de evaluare (job #2889796)

Utilizator hihihahaagram habishish hihihaha Data 13 aprilie 2022 12:17:29
Problema Zona Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10: warning: ignoring '#pragma target ' [-Wunknown-pragmas] 10 | #pragma target("sse4") | main.cpp:163:18: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+18' to '2147483647' [-Woverflow] 163 | const int oooo = 1e18; | ^~~~ main.cpp: In function 'void dfs(int, int)': main.cpp:186:26: error: 'n' was not declared in this scope 186 | if (x >= 0 && x <= 2 * n + 2 && y >= 0 && y <= 2 * n + 2 && mat[x][y] == 0) { | ^ main.cpp:186:66: error: expected primary-expression before '[' token 186 | if (x >= 0 && x <= 2 * n + 2 && y >= 0 && y <= 2 * n + 2 && mat[x][y] == 0) { | ^ main.cpp:187:8: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 187 | mat[x][y] = 2; | ^ main.cpp:187:8: error: structured binding declaration cannot have type 'std::vector<std::vector<int> >' 187 | mat[x][y] = 2; | ^~~ main.cpp:187:8: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto' main.cpp:187:11: error: expected initializer before '[' token 187 | mat[x][y] = 2; | ^ main.cpp:187:11: error: expected ';' before '[' token main.cpp:189:21: error: 'NO_DIR' was not declared in this scope; did you mean 'ENOTDIR'? 189 | for (i = 0; i < NO_DIR; ++i) | ^~~~~~ | ENOTDIR main.cpp:190:15: error: 'dx' was not declared in this scope; did you mean 'x'? 190 | dfs(x + dx[i], y + dy[i]); | ^~ | x main.cpp:190:26: error: 'dy' was not declared in this scope; did you mean 'y'? 190 | dfs(x + dx[i], y + dy[i]); | ^~ | y Non zero exit status: 1

Ceva nu functioneaza?