Borderou de evaluare (job #2217377)
| Utilizator | Data | 30 iunie 2018 10:28:17 | |
|---|---|---|---|
| Problema | Diametrul unui arbore | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:6:14: error: conflicting declaration ‘std::ofstream fin’
ofstream fin ("darb.out");
^
user.cpp:5:10: note: previous declaration as ‘std::ifstream fin’
ifstream fin ("darb.in");
^~~
user.cpp: In function ‘void dfs(int)’:
user.cpp:13:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[x].size(); i++) {
~~^~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:45:3: error: ‘fout’ was not declared in this scope
fout << maxx;
^~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
