Problem | combo |
---|---|
User | Xiaoyang |
Submission Time | 2023-11-20 21:12:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
combo.cpp: In function ‘std::string guess_sequence(int)’:
combo.cpp:34:16: error: could not convert ‘c.std::vector<char>::operator[](((std::vector<char>::size_type)i))’ from ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’} to ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
34 | if(press(c[i]){
| ^
| |
| __gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type {aka char}
combo.cpp:34:17: error: expected ‘)’ before ‘{’ token
34 | if(press(c[i]){
| ~ ^
| )
combo.cpp:39:2: error: expected primary-expression before ‘}’ token
39 | }
| ^