Borderou de evaluare (job #3126639)
Utilizator | Data | 6 mai 2023 20:05:04 | |
---|---|---|---|
Problema | Paranteze | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:11: error: variable 'std::ifstream f' has initializer but incomplete type
6 | ifstream f("date.in");
| ^
main.cpp:7:11: error: variable 'std::ofstream g' has initializer but incomplete type
7 | ofstream g("date.out");
| ^
main.cpp: In function 'int max_paranteze(std::string)':
main.cpp:12:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for (int i = 0; i < paranteze.length(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !