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, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
find: -766608 isfind: 0 insert: -766608, -367720 1 Inserted (-766608, -367720). find: -969643 isfind: 0 insert: -969643, 337405 2 Inserted (-969643, 337405). find: 608470 isfind: 0 rehash: 5 Find mininaum size: 11 insert: 608470, 0 find: 608470 isfind: 1 operator[]: 608470, 0 find: 608470 isfind: 1 find: 608470 isfind: 1 3 Accessed (608470, 0); Updated to (608470, -702436). Rehashed table from 5 to 11. find: -626576 isfind: 0 insert: -626576, 0 find: -626576 isfind: 1 operator[]: -626576, 0 find: -626576 isfind: 1 find: -626576 isfind: 1 4 Accessed (-626576, 0); Updated to (-626576, -817460). find: 518895 isfind: 0 insert: 518895, 0 find: 518895 isfind: 1 operator[]: 518895, 0 find: 518895 isfind: 1 find: 518895 isfind: 1 5 Accessed (518895, 0); Updated to (518895, 991783). find: -628383 isfind: 0 rehash: 11 Find mininaum size: 23 insert: -628383, -829666 6 Inserted (-628383, -829666). Rehashed table from 11 to 23. find: 779907 isfind: 0 insert: 779907, 0 find: 779907 isfind: 1 operator[]: 779907, 0 find: 779
JOJ Answer
1 Inserted (-766608, -367720). 2 Inserted (-969643, 337405). 3 Accessed (608470, 0); Updated to (608470, -702436). Rehashed table from 5 to 11. 4 Accessed (-626576, 0); Updated to (-626576, -817460). 5 Accessed (518895, 0); Updated to (518895, 991783). 6 Inserted (-628383, -829666). Rehashed table from 11 to 23. 7 Accessed (779907, 0); Updated to (779907, -246302). 8 Inserted (257087, -295961). 9 Accessed (-649217, 0); Updated to (-649217, 904947). 10 Accessed (460927, 0); Updated to (460927, 750941). 11 Accessed (430333, 0); Updated to (430333, 650666). 12 Accessed (541346, 0); Updated to (541346, -885433). Rehashed table from 23 to 47. 13 Accessed (418263, 0); Updated to (418263, -13581). 14 Accessed (-336892, 0); Updated to (-336892, 586312). 15 Inserted (331553, -267854). 16 Inserted (-626034, 146965). 17 Inserted (-241139, -178454). 18 Inserted (72428, 421440). 19 Updated (-766608, -138703). 20 Accessed (420048, 0); Updated to (420048, 658961). 21 Accessed (-102298, 0); Updated to (-102298, 879152). 22 A