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 Inserted (437637, 825419). 2 Accessed (915963, 0); Updated to (915963, -923739). 3 82627 not found. 4 Accessed (628632, 0); Updated to (628632, -46885). Rehashed table from 5 to 11. 5 691116 not found. 6 Accessed (-513049, 0); Updated to (-513049, 827078). 7 Accessed (471049, 0); Updated to (471049, 283497). 8 602821 not found. 9 Inserted (-722913, 203262). Rehashed table from 11 to 23. 10 -183803 not found. 11 170059 not found. 12 -114723 not found. 13 Accessed (151376, 0); Updated to (151376, 945267). 14 Accessed (278455, 0); Updated to (278455, 497199). 15 767454 not found. 16 176422 is not present. 17 -744306 not found. 18 Inserted (354567, -54027). 19 246422 is not present. 20 Inserted (470626, 110451). 21 Accessed (-874138, 0); Updated to (-874138, 735216). 22 Accessed (-660529, 0); Updated to (-660529, 785502). Rehashed table from 23 to 47. 23 877091 is not present. 24 -204333 is not present. 25 Accessed (-8678, 0); Updated to (-8678, 68188). 26 -215999 is not present. 27 Accessed (272554, 0); Update
JOJ Answer
1 Inserted (437637, 825419). 2 Accessed (915963, 0); Updated to (915963, -923739). 3 82627 not found. 4 Accessed (628632, 0); Updated to (628632, -46885). Rehashed table from 5 to 11. 5 691116 not found. 6 Accessed (-513049, 0); Updated to (-513049, 827078). 7 Accessed (471049, 0); Updated to (471049, 283497). 8 602821 not found. 9 Inserted (-722913, 203262). Rehashed table from 11 to 23. 10 -183803 not found. 11 170059 not found. 12 -114723 not found. 13 Accessed (151376, 0); Updated to (151376, 945267). 14 Accessed (278455, 0); Updated to (278455, 497199). 15 767454 not found. 16 176422 is not present. 17 -744306 not found. 18 Inserted (354567, -54027). 19 246422 is not present. 20 Inserted (470626, 110451). 21 Accessed (-874138, 0); Updated to (-874138, 735216). 22 Accessed (-660529, 0); Updated to (-660529, 785502). Rehashed table from 23 to 47. 23 877091 is not present. 24 -204333 is not present. 25 Accessed (-8678, 0); Updated to (-8678, 68188). 26 -215999 is not present. 27 Accessed (272554, 0); Update