#include #include #include #include using namespace std; void izpisi(vector v) { for (int x : v) cout << x << " "; cout << endl; } class HashTable { public: vector>> t; int capacity, n; int hash(int x) { return x%capacity; } HashTable() { n=0; capacity=1; t.resize(capacity); } void rehash() { capacity *= 2; vector>> t2(capacity); for (int h=0;h