Problem typo
User cobnet
Submission Time 2024-10-23 16:06:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp: In function ‘int main()’:
typo.cpp:5:19: error: cannot convert ‘std::__cxx11::basic_string<char>::length’ from type ‘std::__cxx11::basic_string<char>::size_type (std::__cxx11::basic_string<char>::)() const noexcept’ {aka ‘long unsigned int (std::__cxx11::basic_string<char>::)() const noexcept’} to type ‘int’
5 | int fton = among.length;
| ^~~~~~