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 Runtime Error. And the exit code of your program is -11, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
1 Accessed (-103034, 0); Updated to (-103034, 71947). Rehashed table from 5 to 11. 2 Accessed (-62656, 0); Updated to (-62656, 870048). Rehashed table from 11 to 23. 3 Accessed (-315059, 0); Updated to (-315059, 22906). Rehashed table from 23 to 47. 4 Accessed (308291, 0); Updated to (308291, -231234). Rehashed table from 47 to 97. 5 Accessed (-357863, 0); Updated to (-357863, 619784). Rehashed table from 97 to 199. 6 Accessed (-107171, 0); Updated to (-107171, 495847). Rehashed table from 199 to 409. 7 Inserted (30277, -822639). 8 Accessed (-83574, 0); Updated to (-83574, -674911). Rehashed table from 409 to 823. 9 Accessed (-926321, 0); Updated to (-926321, -731722). Rehashed table from 823 to 1741. 10 Inserted (403591, 738996). 11 Accessed (-800816, 0); Updated to (-800816, 874773). Rehashed table from 1741 to 3469. 12 Inserted (-620890, -388664). 13 Accessed (-277541, 0); Updated to (-277541, 505919). Rehashed table from 3469 to 6949. 14 Accessed (770791, 0); Updated to (770791, 265466). Rehashed table fr
JOJ Answer
1 Accessed (-103034, 0); Updated to (-103034, 71947). 2 Accessed (-62656, 0); Updated to (-62656, 870048). 3 Accessed (-315059, 0); Updated to (-315059, 22906). Rehashed table from 5 to 11. 4 Accessed (308291, 0); Updated to (308291, -231234). 5 Accessed (-357863, 0); Updated to (-357863, 619784). 6 Accessed (-107171, 0); Updated to (-107171, 495847). Rehashed table from 11 to 23. 7 Inserted (30277, -822639). 8 Accessed (-83574, 0); Updated to (-83574, -674911). 9 Accessed (-926321, 0); Updated to (-926321, -731722). 10 Inserted (403591, 738996). 11 Accessed (-800816, 0); Updated to (-800816, 874773). 12 Inserted (-620890, -388664). Rehashed table from 23 to 47. 13 Accessed (-277541, 0); Updated to (-277541, 505919). 14 Accessed (770791, 0); Updated to (770791, 265466). 15 Inserted (136468, 759132). 16 Inserted (-820008, -284236). 17 Inserted (-373913, 9287). 18 Inserted (542129, -418329). 19 Inserted (-732582, -407810). 20 Accessed (-527752, 0); Updated to (-527752, 103093). 21 Accessed (-923102, 0); Updated