Borderou de evaluare (job #2989273)
Utilizator | Data | 6 martie 2023 12:05:29 | |
---|---|---|---|
Problema | Paduri de multimi disjuncte | Status | done |
Runda | Arhiva educationala | Compilator | cpp-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void init()':
main.cpp:16:21: error: 'n' was not declared in this scope
16 | for(int i=1; i<=n; i++)
| ^
main.cpp: In function 'int do_union(int, int)':
main.cpp:45:1: warning: no return statement in function returning non-void [-Wreturn-type]
45 | }
| ^
main.cpp: In function 'int main()':
main.cpp:64:17: error: 'fout' was not declared in this scope
64 | fout<<"DA\n";
| ^~~~
main.cpp:66:17: error: 'fout' was not declared in this scope
66 | fout<<"NU\n";
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !