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: 676 isfind: 0 contains: 676, 0 find: 676 isfind: 0 1 676 is not present. find: 426 isfind: 0 insert: 426, 109 2 Inserted (426, 109). find: 480 isfind: 0 insert: 480, 0 find: 480 isfind: 1 operator[]: 480, 0 find: 480 isfind: 1 find: 480 isfind: 1 3 Accessed (480, 0); Updated to (480, 216). find: 115 isfind: 0 contains: 115, 0 find: 115 isfind: 0 4 115 is not present. find: 886 isfind: 0 contains: 886, 0 find: 886 isfind: 0 5 886 is not present. find: 480 isfind: 1 contains: 480, 1 find: 480 isfind: 1 6 480 is present. find: 552 isfind: 0 7 552 not found. find: 374 isfind: 0 rehash: 5 Find mininaum size: 11 insert: 374, 997 8 Inserted (374, 997). Rehashed table from 5 to 11. find: 490 isfind: 0 insert: 490, 750 9 Inserted (490, 750). find: 894 isfind: 0 10 894 not found. find: 60 isfind: 0 11 60 not found. find: 253 isfind: 0 insert: 253, 0 find: 253 isfind: 0 operator[]: 253, 0 find: 253 isfind: 0 rehash: 11 Find mininaum size: 23 insert: 253, 0 find: 253 isfind: 1 operator[]: 253, 0 find: 253 isfind: 1
JOJ Answer
1 676 is not present. 2 Inserted (426, 109). 3 Accessed (480, 0); Updated to (480, 216). 4 115 is not present. 5 886 is not present. 6 480 is present. 7 552 not found. 8 Inserted (374, 997). Rehashed table from 5 to 11. 9 Inserted (490, 750). 10 894 not found. 11 60 not found. 12 Accessed (253, 0); Updated to (253, 228). 13 Accessed (270, 0); Updated to (270, 258). Rehashed table from 11 to 23. 14 756 not found. 15 519 is not present. 16 788 not found. 17 Accessed (253, 228); Updated to (253, 626). 18 464 not found. 19 Inserted (966, 548). 20 43 not found. 21 756 not found. 22 788 not found. 23 Accessed (115, 0); Updated to (115, 283). 24 467 not found. 25 Updated (490, 657). 26 753 not found. 27 Accessed (426, 109); Updated to (426, 359). 28 Accessed (920, 0); Updated to (920, 755). 29 Accessed (260, 0); Updated to (260, 539). 30 931 not found. 31 Accessed (43, 0); Updated to (43, 257). 32 Inserted (337, 580). Rehashed table from 23 to 47. 33 59 is not present. 34 965 is not present. 35 Updated (43, 730). 36