Borderou de evaluare (job #2581505)
| Utilizator | Data | 15 martie 2020 13:40:28 | |
|---|---|---|---|
| Problema | Paranteze | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
ifstream cin ("paranteze.in"); ofstream cout("paranteze.out");
^~~~~~~~
main.cpp:3:32: error: 'ofstream' does not name a type
ifstream cin ("paranteze.in"); ofstream cout("paranteze.out");
^~~~~~~~
main.cpp: In function 'void solve()':
main.cpp:34:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < str.size(); i++){
~~^~~~~~~~~~~~
main.cpp:40:28: warning: array subscript has type 'char' [-Wchar-subscripts]
if (type[str[i]] == type[str[s.top()]]){
^
main.cpp:40:50: warning: array subscript has type 'char' [-Wchar-subscripts]
if (type[str[i]] == type[str[s.top()]]){
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
