Borderou de evaluare (job #2142341)
Utilizator | Data | 24 februarie 2018 22:33:29 | |
---|---|---|---|
Problema | Paduri de multimi disjuncte | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:8: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen("disjoint.in", "r", stdin);
^
user.cpp:6:8: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen("disjoint.out", "w", stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:47:36: error: ‘fout’ was not declared in this scope
if (root(x) ^ root(y)) fout << "NU\n";
^
user.cpp:49:18: error: ‘fout’ was not declared in this scope
else fout << "DA\n";
^
user.cpp:35:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:39:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &cod, &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !