Problem | typo |
---|---|
User | Usu |
Submission Time | 2025-07-12 22:48:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typo.cpp: In function ‘int main()’:
typo.cpp:9:10: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
9 | char f= " ";
| ^~~
| |
| const char*
typo.cpp:23:45: error: expected primary-expression before ‘=’ token
23 | while (v.back()==a.back() and v.size()!== 0) {
| ^
typo.cpp:33:18: error: expected primary-expression before ‘=’ token
33 | if (v.back() !== a.back()){
| ^
typo.cpp:37:15: error: invalid use of non-static member function ‘void std::vector<_Tp, _Alloc>::pop_back() [with _Tp = char; _Alloc = std::allocator<char>]’
37 | v.pop_back;
| ~~^~~~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,