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
!!!1 5 1 Accessed (-386509, 0); Updated to (-386509, 360209). !!!2 5 2 Inserted (406880, 364631). !!!1 11 !!!2 11 !!!3 11 !!!3 11 3 Inserted (-759532, 724676). Rehashed table from 5 to 11. !!!4 11 4 Accessed (-186351, 0); Updated to (-186351, 865462). 5 -697985 is not present. !!!5 11 6 Accessed (-323847, 0); Updated to (-323847, 385799). !!!1 23 !!!2 23 !!!3 23 !!!4 23 !!!5 23 !!!6 23 !!!6 23 7 Inserted (-953231, -382968). Rehashed table from 11 to 23. 8 917131 not found. 9 222289 not found. 10 549527 is not present. !!!7 23 11 Inserted (943525, 288639). !!!8 23 12 Accessed (404824, 0); Updated to (404824, 521743). 13 671763 is not present. 14 977264 is not present. 15 -684665 not found. !!!9 23 16 Accessed (722159, 0); Updated to (722159, -181894). !!!10 23 17 Inserted (-954856, -268566). !!!11 23 18 Accessed (770775, 0); Updated to (770775, -560782). 19 -141284 is not present. !!!1 47 !!!2 47 !!!3 47 !!!4 47 !!!5 47 !!!6 47 !!!7 47 !!!8 47 !!!9 47 !!!10 47 !!!11 47 !!!12 47 !!!12 47 20 Inserted (556891, -1
JOJ Answer
1 Accessed (-386509, 0); Updated to (-386509, 360209). 2 Inserted (406880, 364631). 3 Inserted (-759532, 724676). Rehashed table from 5 to 11. 4 Accessed (-186351, 0); Updated to (-186351, 865462). 5 -697985 is not present. 6 Accessed (-323847, 0); Updated to (-323847, 385799). 7 Inserted (-953231, -382968). Rehashed table from 11 to 23. 8 917131 not found. 9 222289 not found. 10 549527 is not present. 11 Inserted (943525, 288639). 12 Accessed (404824, 0); Updated to (404824, 521743). 13 671763 is not present. 14 977264 is not present. 15 -684665 not found. 16 Accessed (722159, 0); Updated to (722159, -181894). 17 Inserted (-954856, -268566). 18 Accessed (770775, 0); Updated to (770775, -560782). 19 -141284 is not present. 20 Inserted (556891, -138625). Rehashed table from 23 to 47. 21 404024 is not present. 22 Accessed (-223520, 0); Updated to (-223520, 981278). 23 81962 is not present. 24 -920792 not found. 25 -736602 not found. 26 Accessed (886142, 0); Updated to (886142, 512694). 27 Inserted (-567739, -92