Borderou de evaluare (job #2909131)
Utilizator | Data | 9 iunie 2022 16:35:19 | |
---|---|---|---|
Problema | Paduri de multimi disjuncte | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:7: error: 'N' was not declared in this scope
4 | int t[N+1], nr[N+1];
| ^
main.cpp:4:16: error: 'N' was not declared in this scope
4 | int t[N+1], nr[N+1];
| ^
main.cpp: In function 'int radacina(int)':
main.cpp:8:8: error: 't' was not declared in this scope
8 | if(t[x]==D)
| ^
main.cpp:8:14: error: 'D' was not declared in this scope
8 | if(t[x]==D)
| ^
main.cpp:10:5: error: 't' was not declared in this scope
10 | t[x]=radacina(x);
| ^
main.cpp: In function 'void reuniune(int, int)':
main.cpp:20:8: error: 'nr' was not declared in this scope
20 | if(nr[rx]<nr[ry])
| ^~
main.cpp:22:9: error: 't' was not declared in this scope
22 | t[rx]=ry;
| ^
main.cpp:27:9: error: 't' was not declared in this scope
27 | t[ry]=rx;
| ^
main.cpp: In function 'int main()':
main.cpp:40:9: error: 'nr' was not declared in this scope; did you mean 'n'?
40 | nr[i] = 1;
| ^~
| n
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !