Problem card
User yuliang
Submission Time 2026-02-08 10:51:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘int main()’:
card.cpp:4:16: error: ‘ios_base’ has not been declared
4 | #define fastio ios_base::sync_with_stdio(0); cin.tie(0);
| ^~~~~~~~
card.cpp:7:2: note: in expansion of macro ‘fastio’
7 | fastio
| ^~~~~~
card.cpp:4:46: error: ‘cin’ was not declared in this scope
4 | #define fastio ios_base::sync_with_stdio(0); cin.tie(0);
| ^~~
card.cpp:7:2: note: in expansion of macro ‘fastio’
7 | fastio
| ^~~~~~
card.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
card.cpp:11:2: error: ‘deque’ was not declared in this scope
11 | deque<int> deck;
| ^~~~~
card.cpp:1:1: note: ‘std::deque’ is defined in header ‘<deque>’; did you forget to ‘#include <deque>’?