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
insert: -766608, -367720 insert: -969643, 337405 insert: 608470, 0 insert: -626576, 0 insert: 518895, 0 insert: -628383, -829666 insert: 779907, 0 insert: 257087, -295961 insert: -649217, 0 insert: 460927, 0 insert: 430333, 0 insert: 541346, 0 insert: 418263, 0 insert: -336892, 0 insert: 331553, -267854 insert: -626034, 146965 insert: -241139, -178454 insert: 72428, 421440 insert: 420048, 0 insert: -102298, 0 insert: -290833, 0 insert: 811867, 0 insert: 811867, 0 insert: 811867, 0 insert: -572217, 0 insert: -105876, 0 insert: -301103, -53977 insert: 317804, -815498 insert: -603710, 826241 insert: 719007, 0 insert: -177011, 0 insert: 45957, 0 insert: 180532, 0 insert: 152418, 0 insert: -644109, 0 insert: -644109, 0 insert: -644109, 0 insert: 163775, 0 insert: 513469, 0 insert: 538729, 460452 insert: -366759, 0 insert: -73564, 0 insert: 28762, 0 insert: 28762, 0 insert: 28762, 0 insert: -213826, 0 insert: -213826, 0 insert: -213826, 0 insert: -205077, -819205 insert: -341814, 0 insert: 783907, 0 insert: 220198,
JOJ Answer
========== Resulting HashTable ========== 0 | 1 | 2 | 3 | {561323, -406486} 4 | 5 | {-716858, 117013} {-506363, -594077} 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | {-913311, 648183} 15 | 16 | {827963, 130907} 17 | {322776, 512313} {701667, -533367} 18 | {112282, 544947} 19 | 20 | 21 | 22 | 23 | 24 | {-380047, 575891} 25 | 26 | 27 | {-997496, -61421} 28 | 29 | 30 | {-618602, -741659} 31 | 32 | 33 | 34 | {-155509, -781714} 35 | {70200, 18909} {378926, -640316} 36 | 37 | 38 | 39 | {-464230, -631635} 40 | 41 | 42 | 43 | {43, 362413} 44 | 45 | 46 | 47 | {-323892, 185281} 48 | {70213, -757822} 49 | 50 | {14083, -551571} 51 | 52 | 53 | 54 | {-520347, -41594} 55 | 56 | {-702774, -877023} 57 | 58 | 59 | 60 | {-99351, -840675} {84258, -500895} 61 | 62 | 63 | {-