Problem deciphering_zane_4
User dacashew
Submission Time 2024-01-01 00:48:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

deciphering_zane_4.cpp: In function ‘const char* solve(int)’:
deciphering_zane_4.cpp:80:15: error: cannot convert ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘const char*’ in return
80 | return s[T];
| ~~~^
| |
| std::string {aka std::__cxx11::basic_string<char>}