Borderou de evaluare (job #2175126)
Utilizator | Data | 16 martie 2018 15:28:33 | |
---|---|---|---|
Problema | Compresie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:12: error: cannot convert ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length<char, std::char_traits<char>, std::allocator<char> >’ from type ‘std::__cxx11::basic_string<char>::size_type (std::__cxx11::basic_string<char>::)() const noexcept {aka unsigned int (std::__cxx11::basic_string<char>::)() const noexcept}’ to type ‘int’
int l=str.length;
^
user.cpp:10:6: warning: unused variable ‘l’ [-Wunused-variable]
int l=str.length;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !