Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "bits/stdc++.h"
- #include "lab1.h"
- using namespace std;
- int main(){
- ::srand(::time(nullptr));
- lab1::Queue queue(25);
- for(int i = 0; i < queue.size(); ++i)
- queue.push(rand() % 1000);
- queue.print();
- queue.sort();
- queue.print();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement