Borderou de evaluare (job #3213288)
Utilizator | Data | 12 martie 2024 20:44:10 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:48:14: error: conflicting declaration 'std::ofstream fin'
48 | ofstream fin("ctc.out");
| ^~~
main.cpp:47:14: note: previous declaration as 'std::ifstream fin'
47 | ifstream fin("ctc.in");
| ^~~
main.cpp:64:5: error: 'fout' was not declared in this scope
64 | fout<<components<<'\n';
| ^~~~
main.cpp:66:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | for(int j=0;j<afis[i].size();++j)
| ~^~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !