Problem | mao |
---|---|
User | noobatcp |
Submission Time | 2024-10-14 12:41:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mao.cpp: In function ‘std::vector<const char*> write_mao()’:
mao.cpp:52:25: error: cannot convert ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘__gnu_cxx::__alloc_traits<std::allocator<const char*>, const char*>::value_type’ {aka ‘const char*’} in assignment
52 | answers[5]=to_string(rg(0, 1));
| ~~~~~~~~~^~~~~~~~~~
| |
| std::string {aka std::__cxx11::basic_string<char>}