Borderou de evaluare (job #3272871)
Utilizator | Data | 31 ianuarie 2025 11:20:52 | |
---|---|---|---|
Problema | Becuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:1: error: 'vector' does not name a type
10 | vector<int> lin_schimbate[3], col_schimbate[3];
| ^~~~~~
main.cpp: In function 'void switch_line(int, int)':
main.cpp:17:5: error: 'lin_schimbate' was not declared in this scope
17 | lin_schimbate[p].push_back(i);
| ^~~~~~~~~~~~~
main.cpp: In function 'void switch_col(int, int)':
main.cpp:25:5: error: 'col_schimbate' was not declared in this scope
25 | col_schimbate[p].push_back(j);
| ^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:43:18: error: 'i' was not declared in this scope
43 | if(panou[i][j][1]==1) switch_col(j, 1);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !