Borderou de evaluare (job #2359652)
Utilizator | Data | 28 februarie 2019 23:12:09 | |
---|---|---|---|
Problema | Expresii min-max | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int get_next_number(std::__cxx11::string&, int)':
main.cpp:15:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=to_start; i<a.length(); i++)
~^~~~~~~~~~~
main.cpp: In function 'int find_end(int, std::__cxx11::string&)':
main.cpp:30:22: 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 '()' ?)
while(paran&&k<a.length)
~~^~~~~~
main.cpp: In function 'int solve_p(int, std::__cxx11::string&)':
main.cpp:52:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=to_start; i<a.length()&&a[i]!=')'; i++)
~^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !