Problem transportingpotatoes
User Pan
Submission Time 2024-11-24 17:38:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

transportingpotatoes.cpp: In function ‘int main()’:
transportingpotatoes.cpp:50:4: error: request for member ‘assign’ in ‘c’, which is of non-class type ‘std::string [5000005]’ {aka ‘std::__cxx11::basic_string<char> [5000005]’}
50 | c.assign(n + 5, vector<char> (m + 5, '0'));
| ^~~~~~