Problem | sort |
---|---|
User | asbx |
Submission Time | 2023-12-06 16:05:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sort.cpp: In function ‘int main()’:
sort.cpp:13:25: 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 ‘()’ ?)
13 | for(int j=0; j<arr[i].length; j++){
| ~~~~~~~^~~~~~
| ()
sort.cpp:17:21: error: ‘i’ was not declared in this scope
17 | for(int j=0; j<arr[i].length; j++){
| ^