Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
insert -120713 nfind -120713at3 inserted at3 insert -91652 nfind -91652at4 inserted at4 nfind 808146at1 nfind 808146at1 insert 808146 nfind 808146at9 inserted at9 insert -120713 nfind -120713at6 inserted at6 insert -91652 nfind -91652at5 inserted at5 insert -91652 nfind -91652at9 inserted at9 insert -120713 nfind -120713at20 inserted at20 insert 808146 nfind 808146at18 inserted at18 yfind 808146at18 yfind 808146at18 yfind 808146at18 yfind 808146at18 yfind 808146at18 nfind2 253894 nfind2 253894 yfind 253894at20 yfind 253894at20 yfind 253894at20 yfind 253894at20 yfind 253894at20 nfind -770319at3 nfind -770319at3 yfind -770319at3 yfind -770319at3 yfind -770319at3 yfind -770319at3 yfind -770319at3 insert 126041 nfind 126041at1 inserted at1 insert 126041 nfind 126041at34 inserted at34 insert -770319 nfind -770319at36 inserted at36 insert -91652 nfind -91652at23 inserted at23 insert 808146 nfind 808146at28 inserted at28 insert -120713 nfind -120713at8 inserted at8 insert 253894 nfind 253894at0 inserted at0 nfind2 -
JOJ Answer
========== Resulting HashTable ========== 0 | 1 | 2 | 3 | 4 | {-829968, -641205} {805802, 810243} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | {863378, 635057} 24 | 25 | 26 | 27 | 28 | 29 | {-484601, -910827} 30 | 31 | 32 | {920944, 994910} 33 | 34 | 35 | 36 | 37 | 38 | {172709, -971866} 39 | 40 | 41 | {460497, 822186} 42 | 43 | 44 | {-484586, -246909} {-196801, 373336} 45 | 46 | {460502, -715741} 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | {402955, -587107} 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | {402967, -171062} 69 | 70 | 71 | 72 | {-829900, -773165} 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | {-599663, -