Borderou de evaluare (job #2714374)

Utilizator maco1503Macovei Teodor-Andrei maco1503 Data 1 martie 2021 18:47:42
Problema Desen Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int find(int)': main.cpp:32:46: error: 'q' was not declared in this scope while(nod!=T[nod]) {int y=T[nod]; T[nod]=q; nod=y;} ^ main.cpp: At global scope: main.cpp:70:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] main() ^ main.cpp: In function 'int main()': main.cpp:76:13: warning: unused variable 'x' [-Wunused-variable] int x,y; ^ main.cpp:76:15: warning: unused variable 'y' [-Wunused-variable] int x,y; ^ Non zero exit status: 1

Ceva nu functioneaza?