Borderou de evaluare (job #702363)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Disjoint | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 mar. 2023 16:03:07 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int getroot(int)':
main.cpp:21:13: error: 'pre' was not declared in this scope; did you mean 'prev'?
21 | x = pre;
| ^~~
| prev
main.cpp:19:13: warning: unused variable 'prev' [-Wunused-variable]
19 | int prev = t[x];
| ^~~~