Borderou de evaluare (job #803722)

Utilizator avatar bogdan_ Goian Bogdan bogdan_ IP ascuns
Problemă Romeo si Julieta (clasa a 10-a) Compilator cpp-32
Rundă lasm_09_01_2025_clasa12b Status evaluat
Dată 9 ian. 2025 21:15:38 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:13:1: error: '::main' must return 'int' 13 | void main() | ^~~~ main.cpp: In function 'void citesc()': main.cpp:27:9: error: 'f' was not declared in this scope 27 | f.get(c); | ^ main.cpp: In function 'void parcurg(int, int, int (*)[102])': main.cpp:44:10: error: 'sp' was not declared in this scope; did you mean 'sf'? 44 | {sp=C[inc++]; | ^~ | sf main.cpp:45:13: error: 'o' was not declared in this scope 45 | for(o=0; i<NV; i++) | ^ main.cpp:45:20: error: 'NV' was not declared in this scope 45 | for(o=0; i<NV; i++) | ^~ main.cpp:46:59: error: 'dl' was not declared in this scope; did you mean 'd'? 46 | if(l[p.l+dx[i]][p.c+dy[i]]=1=' ' && d[p.l+dl[i]][p.c+dc[i]]==-1) | ^~ | d main.cpp:46:70: error: 'dc' was not declared in this scope; did you mean 'd'? 46 | if(l[p.l+dx[i]][p.c+dy[i]]=1=' ' && d[p.l+dl[i]][p.c+dc[i]]==-1) | ^~ | d main.cpp: In function 'void afisez(int (*)[102])': main.cpp:55:51: error: declaration of 'int k' shadows a parameter 55 | {int tmin=102*102+5, xmin=-1, ymin=-1, i, k; | ^ main.cpp:54:17: note: 'int (* k)[102]' previously declared here 54 | void afisez(int k[102][102]) | ~~~~^~~~~~~~~~~ main.cpp:58:28: warning: init-statement in selection statements only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions] 58 | if(r[i][k]==j[i][k] | ^ main.cpp:58:37: error: 'j' was not declared in this scope 58 | if(r[i][k]==j[i][k] | ^ main.cpp:61:48: error: expected ')' before ';' token 61 | fout<<tmin<<" "<<xmin<<" "<<ymin<<'\n'; | ^ | ) main.cpp:58:27: note: to match this '(' 58 | if(r[i][k]==j[i][k] | ^