| Problem | card |
|---|---|
| User | yoshiokalili |
| Submission Time | 2026-02-09 21:24:30 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:23:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
23 | if (task == "A")
| ^~~
card.cpp:24:25: error: no matching function for call to ‘std::deque<int>::push_back(<unresolved overloaded function type>)’
24 | dq.push_back(dq.front);
| ^
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from card.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:1569:7: note: candidate: ‘void std::deque<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>; std::deque<_Tp, _Alloc>::value_type = int]’
1569 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:1569:35: note: no known conversion for argument 1 from ‘<unresolved ove