Borderou de evaluare (job #3217002)
Utilizator | Data | 20 martie 2024 18:23:42 | |
---|---|---|---|
Problema | Trompeta | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:14: error: expected initializer before string constant
10 | ofstream fout"trompeta.out");
| ^~~~~~~~~~~~~~
main.cpp: In function 'void afisare(std::stack<char>)':
main.cpp:18:9: error: 'fout' was not declared in this scope
18 | fout << aux;
| ^~~~
main.cpp: In function 'int main()':
main.cpp:32:55: warning: comparison of integer expressions of different signedness: 'std::stack<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
32 | while (!st.empty() && (st.size() + n - i - 1) >= m && st.top() < input[i])
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
main.cpp:39:5: error: 'fout' was not declared in this scope
39 | fout.close();
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !