Borderou de evaluare (job #3240768)

Utilizator McMeatGhenea Radu Stefan McMeat Data 20 august 2024 19:40:40
Problema Bile Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:20: error: expected initializer before 'n' 10 | int rang[252][252] n ,mx=1; | ^ main.cpp: In function 'void join(std::pair<int, int>, std::pair<int, int>)': main.cpp:42:12: error: 'rang' was not declared in this scope; did you mean 'rand'? 42 | if(rang[rx.first][rx.second]<=rang[ry.first][ry.second]) | ^~~~ | rand main.cpp:45:50: error: 'mx' was not declared in this scope; did you mean 'rx'? 45 | if(a[rx.first][rx.second].first*(-1)>mx) | ^~ | rx main.cpp:55:50: error: 'mx' was not declared in this scope; did you mean 'rx'? 55 | if(a[ry.first][ry.second].first*(-1)>mx) | ^~ | rx main.cpp: In function 'int main()': main.cpp:65:8: error: 'n' was not declared in this scope; did you mean 'yn'? 65 | f>>n; | ^ | yn main.cpp:82:22: error: 'mx' was not declared in this scope; did you mean 'x'? 82 | st.push_back(mx); | ^~ | x Non zero exit status: 1

Ceva nu functioneaza?