| Problem | typo |
|---|---|
| User | JhoCyber |
| Submission Time | 2025-01-13 19:22:57 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
typo.cpp: In function ‘int32_t main()’:
typo.cpp:11:33: error: invalid types ‘<unresolved overloaded function type>[__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type {aka char}]’ for array subscript
11 | swap[s[limit],s[limit-1]];
| ^
typo.cpp:13:37: error: invalid types ‘<unresolved overloaded function type>[__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type {aka char}]’ for array subscript
13 | swap[s[limit],s[limit-1]];
| ^
typo.cpp:16:18: error: no match for ‘operator>>’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [4]’)
16 | if(s==t)cout >> "Yes";
| ~~~~ ^~ ~~~~~
| | |
| | const char [4]
| std::ostream {aka std::basic_ostream<ch