Problem quantumcp
User NotTYR
Submission Time 2025-11-17 11:00:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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:30: error: expected primary-expression before ‘auto’
33 | if(ops[q][1] == 1 && auto find((cool1, cool1 + 2,string(1, s[i])) != (cool1 + 2){
| ^~~~
quantumcp.cpp:33:29: error: expected ‘)’ before ‘auto’
33 | if(ops[q][1] == 1 && auto find((cool1, cool1 + 2,string(1, s[i])) != (cool1 + 2){
| ~ ^~~~~
| )
quantumcp.cpp:39:5: error: expected primary-expression