Problem | card |
---|---|
User | Yvonne |
Submission Time | 2024-06-21 09:55:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:29:21: error: invalid initialization of reference of type ‘std::deque<int>&’ from expression of type ‘std::vector<int>’
29 | shuffleDeck(deck, move);
| ^~~~
card.cpp:4:30: note: in passing argument 1 of ‘void shuffleDeck(std::deque<int>&, char)’
4 | void shuffleDeck(deque<int>& deck, char move) {
| ~~~~~~~~~~~~^~~~