#include using namespace std; #include "Binomial_heap.h" int main() { Data_structures::Binomial_heap heap1; Data_structures::Binomial_heap heap2; for ( int i = 1; i <= 165; ++i ) { int n = (37*i) % 300; cout << "Pushing " << n << endl; heap1.push( n ); cout << heap1 << endl; } for ( int i = 166; i <= 293; ++i ) { int n = (37*i) % 300; cout << "Pushing " << n << endl; heap2.push( n ); } cout << heap1 << endl; cout << heap2 << endl; heap1.push( heap2 ); cout << heap1 << endl; for ( int i = 1; i <= 293; ++i ) { cout << heap1.pop() << endl; } cout << heap1 << endl; cout << heap2 << endl; return 0; }