Problem | typo |
---|---|
User | Usu |
Submission Time | 2025-07-12 22:47:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typo.cpp: In function ‘int main()’:
typo.cpp:9:8: error: ‘f’ does not name a type
9 | const f= ' ';
| ^
typo.cpp:12:15: error: ‘f’ was not declared in this scope
12 | if(chara == f){
| ^
typo.cpp:23:45: error: expected primary-expression before ‘=’ token
23 | while (v.back()==a.back() and v.size()!== 0) {
| ^
typo.cpp:27:8: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = char; _Alloc = std::allocator<char>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
27 | if (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