| Problem | card |
|---|---|
| User | howdoicode |
| Submission Time | 2026-03-04 17:38:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:16:25: error: could not convert ‘(& order.std::vector<std::__cxx11::basic_string<char> >::operator[](((std::vector<std::__cxx11::basic_string<char> >::size_type)numberouno)))->std::__cxx11::basic_string<char>::operator=(46)’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
16 | if (order[numberouno] = '.') {
card.cpp:26:16: error: could not convert ‘(& order.std::vector<std::__cxx11::basic_string<char> >::operator[](0))->std::__cxx11::basic_string<char>::operator=(65)’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
26 | if (order[0] = 'A') {
card.cpp:27:27: error: no matching function for call to ‘std::vector<std::__cxx11::basic_string<char> >::erase(<unresolved overloaded function type>)’
27 | order.erase(order.begin)
| ^
In file included from /usr/include/c++/9/vector:67,