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
rehashing from 5to11 rehashing from 11to23 rehashing from 23to47 rehashing from 47to97 rehashing from 97to199 rehashing from 199to409 rehashing from 409to823 rehashing from 823to1741 rehashing from 1741to3469 rehashing from 3469to6949 rehashing from 6949to14033 rehashing from 14033to28411 rehashing from 28411to57557 ========== Resulting HashTable ========== 0 | 1 | 2 | 3 | 4 | {-829968, -641205} {805802, 810243} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | {863378, 635057} 24 | 25 | 26 | 27 | 28 | 29 | {-484601, -910827} 30 | 31 | 32 | {920944, 994910} 33 | 34 | 35 | 36 | 37 | 38 | {172709, -971866} 39 | 40 | 41 | {460497, 822186} 42 | 43 | 44 | {-484586, -246909} {-196801, 373336} 45 | 46 | {460502, -715741} 47 | 48 | 49 | 50 | 51 | 52 | 53 |
JOJ Answer
========== Resulting HashTable ========== 0 | 1 | 2 | 3 | 4 | {-829968, -641205} {805802, 810243} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | {863378, 635057} 24 | 25 | 26 | 27 | 28 | 29 | {-484601, -910827} 30 | 31 | 32 | {920944, 994910} 33 | 34 | 35 | 36 | 37 | 38 | {172709, -971866} 39 | 40 | 41 | {460497, 822186} 42 | 43 | 44 | {-484586, -246909} {-196801, 373336} 45 | 46 | {460502, -715741} 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | {402955, -587107} 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | {402967, -171062} 69 | 70 | 71 | 72 | {-829900, -773165} 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | {-599663, -