Borderou de evaluare (job #3151550)
Utilizator | Data | 21 septembrie 2023 19:25:24 | |
---|---|---|---|
Problema | Password1 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve()':
main.cpp:23:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i=0;i<a.size();i++) {
| ~^~~~~~~~~
main.cpp:27:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int i=0;i<a.size();i++) {
| ~^~~~~~~~~
main.cpp:40:25: error: 'max_element' was not declared in this scope
40 | if(stk.empty() || (*max_element(fr_b.begin(),fr_b.end()))>0) {
| ^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !