Borderou de evaluare (job #3246002)
Utilizator | Data | 1 octombrie 2024 15:01:07 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void add(nod*&, int)':
main.cpp:58:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | if(poz < s.size())
| ~~~~^~~~~~~~~~
main.cpp: In function 'void rem(nod*&, int)':
main.cpp:85:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
85 | if(poz < s.size())
| ~~~~^~~~~~~~~~
main.cpp: In function 'int query(nod*, int)':
main.cpp:100:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
100 | if(poz < s.size())
| ~~~~^~~~~~~~~~
main.cpp:106:20: error: 'cnt' was not declared in this scope; did you mean 'int'?
106 | if(cnt )
| ^~~
| int
main.cpp:107:13: error: expected primary-expression before '}' token
107 | }
| ^
main.cpp:129:1: warning: no return statement in function returning non-void [-Wreturn-type]
129 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !