Borderou de evaluare (job #3183721)
Utilizator | Data | 12 decembrie 2023 20:45:02 | |
---|---|---|---|
Problema | Ghizi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:1: error: 'ifstream' does not name a type
8 | ifstream fin("ghizi.in");
| ^~~~~~~~
main.cpp:9:1: error: 'ofstream' does not name a type
9 | ofstream fout("ghizi.out");
| ^~~~~~~~
main.cpp: In function 'void rezolva()':
main.cpp:61:5: error: 'fout' was not declared in this scope
61 | fout << sol.size() << '\n';
| ^~~~
main.cpp:62:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for (i = 0; i < sol.size(); ++i)
| ~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:68:5: error: 'fin' was not declared in this scope
68 | fin >> n >> K;
| ^~~
main.cpp:75:5: error: 'fout' was not declared in this scope
75 | fout.close();
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !