Problem | card |
---|---|
User | Ush |
Submission Time | 2023-11-10 13:10:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int32_t main()’:
card.cpp:9:4: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
9 | cin >> m >> k;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from card.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
card.cpp:12:3: error: ‘deque’ was not declared in this scope
12 | deque<int> cards;
| ^~~~~
card.cpp:12:3: note: suggested alternatives:
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:849:11: note: ‘std::deque’
849 | class deque : protected _Deque_base<_Tp, _Alloc>
| ^~~~~
In fi