| Problem | peanamis |
|---|---|
| User | ethantanaki |
| Submission Time | 2026-11-27 22:19:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
peanamis.cpp: In function ‘int main()’:
peanamis.cpp:9:11: error: expected unqualified-id before ‘int’
9 | char x,int y; cin>>x>>y;
| ^~~
peanamis.cpp:9:26: error: ‘y’ was not declared in this scope
9 | char x,int y; cin>>x>>y;
| ^
peanamis.cpp:15:50: error: no matching function for call to ‘std::vector<int>::erase(<unresolved overloaded function type>)’
15 | if(!v1.empty()&&v2.empty()) v1.erase(v1.begin);
| ^
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,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from peanamis.cpp:1:
/usr/include/c++/9/bits/stl_ve