Problem | midas |
---|---|
User | LCJLY |
Submission Time | 2024-07-22 22:30:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
midas.cpp: In function ‘void solve()’:
midas.cpp:39:15: error: invalid types ‘std::string [1000005] {aka std::__cxx11::basic_string<char> [1000005]}[<unresolved overloaded function type>]’ for array subscript
39 | if(arr[index].length()==0) arr[index]="0";
| ^
midas.cpp:39:39: error: invalid types ‘std::string [1000005] {aka std::__cxx11::basic_string<char> [1000005]}[<unresolved overloaded function type>]’ for array subscript
39 | if(arr[index].length()==0) arr[index]="0";
| ^