fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. class HashMap{
  5. private:
  6. int *table; /*Массив элементов*/
  7. int *deleted; /*Массив для поддержки удаления*/
  8. static const int table_size = 70000;
  9. static const int NIL = 0;
  10. static const int DELETED = -1;
  11. public:
  12. HashMap();
  13. HashMap(int arr[], int len);
  14. ~HashMap();
  15. int insert(int key);
  16. int search(int key);
  17. bool remove(int key);
  18. };
  19.  
  20. int main() {
  21. // your code goes here
  22. return 0;
  23. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Standard output is empty