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
1 -278062 not found. 2 586699 not found. 3 Inserted (806235, -161552). 4 Accessed (-279042, 0); Updated to (-279042, -703797). 5 881070 not found. 6 Inserted (-894139, 832524). Rehashed table from 5 to 11. 7 Accessed (319550, 0); Updated to (319550, -614597). 8 Inserted (299844, -108024). 9 -573852 is not present. 10 Inserted (424750, 456572). Rehashed table from 11 to 23. 11 Inserted (-554300, 833496). 12 -88051 is not present. 13 -833351 not found. 14 284788 is not present. 15 -30164 not found. 16 438307 is not present. 17 Accessed (-560211, 0); Updated to (-560211, -497609). 18 Inserted (489498, -806484). 19 Inserted (596610, -229587). 20 -928513 not found. 21 -943665 not found. 22 Inserted (458318, 790). 23 -411309 not found. 24 -226079 not found. 25 Inserted (-470118, -888845). Rehashed table from 23 to 47. 26 -217799 not found. 27 Inserted (539126, -535767). 28 756655 not found. 29 598635 not found. 30 Inserted (-205030, -143586). 31 Inserted (-830862, -105544). 32 Accessed (-337458, 0); Updated to (-33
JOJ Answer
1 -278062 not found. 2 586699 not found. 3 Inserted (806235, -161552). 4 Accessed (-279042, 0); Updated to (-279042, -703797). 5 881070 not found. 6 Inserted (-894139, 832524). Rehashed table from 5 to 11. 7 Accessed (319550, 0); Updated to (319550, -614597). 8 Inserted (299844, -108024). 9 -573852 is not present. 10 Inserted (424750, 456572). Rehashed table from 11 to 23. 11 Inserted (-554300, 833496). 12 -88051 is not present. 13 -833351 not found. 14 284788 is not present. 15 -30164 not found. 16 438307 is not present. 17 Accessed (-560211, 0); Updated to (-560211, -497609). 18 Inserted (489498, -806484). 19 Inserted (596610, -229587). 20 -928513 not found. 21 -943665 not found. 22 Inserted (458318, 790). 23 -411309 not found. 24 -226079 not found. 25 Inserted (-470118, -888845). Rehashed table from 23 to 47. 26 -217799 not found. 27 Inserted (539126, -535767). 28 756655 not found. 29 598635 not found. 30 Inserted (-205030, -143586). 31 Inserted (-830862, -105544). 32 Accessed (-337458, 0); Updated to (-33