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
erase: 14 1 14 not found. erase: 88 2 88 not found. erase: 861 3 861 not found. 4 703 not found. 5 232 not found. erase: 232 6 232 not found. erase: 271 7 271 not found. insert: 150, 358 8 Inserted (150, 358). 9 861 not found. erase: 861 10 861 not found. erase: 88 11 88 not found. erase: 88 12 88 not found. 13 703 is not present. 14 150 is present. 15 271 is not present. insert: 271, 438 16 Inserted (271, 438). 17 703 is not present. 18 Updated (150, 44). insert: 88, 582 19 Inserted (88, 582). Rehashed table from 5 to 11. 20 271 is present. 21 88 is present. insert: 861, 411 22 Inserted (861, 411). erase: 88 23 88 erased. erase: 271 24 271 erased. erase: 14 25 14 not found. 26 232 not found. 27 703 is not present. insert: 271, 354 28 Inserted (271, 354). 29 150 found. erase: 861 30 861 erased. erase: 14 31 14 not found. erase: 271 32 271 erased. erase: 703 33 703 not found. 34 232 is not present. 35 150 found. insert: 271, 200 36 Inserted (271, 200). 37 703 is not present. 38 Updated (271, 165). erase: 232 3
JOJ Answer
1 14 not found. 2 88 not found. 3 861 not found. 4 703 not found. 5 232 not found. 6 232 not found. 7 271 not found. 8 Inserted (150, 358). 9 861 not found. 10 861 not found. 11 88 not found. 12 88 not found. 13 703 is not present. 14 150 is present. 15 271 is not present. 16 Inserted (271, 438). 17 703 is not present. 18 Updated (150, 44). 19 Inserted (88, 582). Rehashed table from 5 to 11. 20 271 is present. 21 88 is present. 22 Inserted (861, 411). 23 88 erased. 24 271 erased. 25 14 not found. 26 232 not found. 27 703 is not present. 28 Inserted (271, 354). 29 150 found. 30 861 erased. 31 14 not found. 32 271 erased. 33 703 not found. 34 232 is not present. 35 150 found. 36 Inserted (271, 200). 37 703 is not present. 38 Updated (271, 165). 39 232 not found. 40 703 is not present. 41 150 erased. 42 703 is not present. 43 271 is present. 44 150 not found. 45 Inserted (14, 652). 46 232 is not present. 47 150 is not present. 48 271 found. 49 150 is not present. 50 150 not found. 51 Updated (14, 761). 52 Update