| Problem | quantumcp |
|---|---|
| User | NotTYR |
| Submission Time | 2025-11-17 10:58:01 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
quantumcp.cpp: In function ‘int main()’:
quantumcp.cpp:30:42: error: could not convert ‘{"+", "-", "0", "1"}’ from ‘<brace-enclosed initializer list>’ to ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
30 | string arr = {"+","-","0","1"}
| ^
| |
| <brace-enclosed initializer list>
quantumcp.cpp:33:49: error: no match for ‘operator+’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘int’)
33 | if(ops[q][1] == 1 && find((cool1, cool1 + 2,s[q]) != (cool1 + 2){
| ~~~~~ ^ ~
| | |
| | int
| std::string {aka std::__cxx11::basic_string<