Borderou de evaluare (job #3372069)
| Utilizator | Data | 2 noiembrie 2026 14:34:10 | |
|---|---|---|---|
| Problema | Paduri de multimi disjuncte | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:7:1: error: 'ifstream' does not name a type
7 | ifstream f("disjoint.in");
| ^~~~~~~~
main.cpp:8:1: error: 'ofstream' does not name a type
8 | ofstream g("disjoint.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:33:5: error: 'f' was not declared in this scope
33 | f >> n >> q;
| ^
main.cpp:35:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
35 | for(int i = 1; i = n; i++) {
| ~~^~~
main.cpp:46:17: error: 'g' was not declared in this scope
46 | g << "DA\n";
| ^
main.cpp:47:18: error: 'g' was not declared in this scope
47 | else g << "NU\n";
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
