Borderou de evaluare (job #2829653)
Utilizator | Data | 8 ianuarie 2022 20:22:29 | |
---|---|---|---|
Problema | Senat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool bfs_HK()':
main.cpp:23:29: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
23 | for(unsigned long i=1; i<=m; ++i)
| ~^~~
main.cpp: In function 'int main()':
main.cpp:104:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
104 | while(j<s.length())
| ~^~~~~~~~~~~
main.cpp:110:27: error: invalid use of member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]' (did you forget the '()' ?)
110 | while(j<s.length && '0'<s[j] && s[j]<'9')
| ~~^~~~~~
| ()
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !