Borderou de evaluare (job #3341244)
| Utilizator | Data | 18 februarie 2026 18:24: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:9:9: error: 'vector' does not name a type
9 | vector<int> tata;
| ^~~~~~
main.cpp: In constructor 'Paduri::Paduri(int)':
main.cpp:12:17: error: 'tata' was not declared in this scope
12 | tata.resize(n + 1);
| ^~~~
main.cpp: In member function 'int Paduri::rad(int)':
main.cpp:16:21: error: 'tata' was not declared in this scope
16 | if (tata[x] == 0) {
| ^~~~
main.cpp: In member function 'void Paduri::join(int, int)':
main.cpp:32:17: error: 'tata' was not declared in this scope
32 | tata[b] = a;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
