| Problem | quantumcp |
|---|---|
| User | NotTYR |
| Submission Time | 2025-11-17 10:55:39 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
quantumcp.cpp: In function ‘int main()’:
quantumcp.cpp:28:42: error: could not convert ‘{"+", "-", "0", "1"}’ from ‘<brace-enclosed initializer list>’ to ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
28 | string arr = {"+","-","0","1"}
| ^
| |
| <brace-enclosed initializer list>
quantumcp.cpp:31:66: error: taking address of temporary array
31 | if(ops[q][1] == 1 && find((string[]){"0","1"}, (string[]){"0","1"} + 2,s[q]) != (string[]){"0","1"} + 2){
| ^~~~~~~~~
quantumcp.cpp:31:99: error: taking address of temporary array
31 | if(ops[q][1] == 1 && find((string[]){"0","1"}, (string[]){"0","1"} + 2,s[q]) != (string[]){"0","1"} + 2){
|