Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- #include <queue>
- using namespace std;
- typedef long long ll;
- int main()
- {
- queue<int> Q;
- Q.push(1);
- Q.push(2);
- Q.push(3);
- cout << Q.front() << endl;
- cout << Q.size() << endl;
- cout << Q.empty() << endl;
- Q.pop();
- cout << Q.front() << endl;
- cout << Q.size() << endl;
- cout << Q.empty() << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement