Problem | typo |
---|---|
User | Usu |
Submission Time | 2025-07-12 19:50:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typo.cpp: In function ‘int main()’:
typo.cpp:11:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
11 | if(chara == " "){
| ^~~
typo.cpp:17:2: error: expected ‘,’ or ‘;’ before ‘v’
17 | v.shrink_to_fit;
| ^
typo.cpp:26: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 ‘()’ ?)
26 | if (v.size = 0) {
| ~~^~~~
| ()
typo.cpp:32:14: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘<unresolved overloaded function type>’ to binary ‘operator!=’
32 | if (v.back != a.back){
| ~~~~~~ ^~ ~~~~~~
| | |
| | <unresolved overloaded function type