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: -103034, 0 insert: -62656, 0 insert: -315059, 0 insert: 308291, 0 insert: -357863, 0 insert: -107171, 0 insert: 30277, -822639 insert: -83574, 0 insert: -926321, 0 insert: 403591, 738996 insert: -800816, 0 insert: -620890, -388664 insert: -277541, 0 insert: 770791, 0 insert: 136468, 759132 insert: -820008, -284236 insert: -373913, 9287 insert: 542129, -418329 insert: -732582, -407810 insert: -527752, 0 insert: -923102, 0 insert: 58218, 908034 insert: 672566, -914412 insert: 790365, -110899 insert: -51475, 0 insert: -516050, 0 insert: -477705, 0 insert: -692593, 768904 insert: 518784, -909849 insert: 468982, 922154 insert: -38507, 0 insert: 591281, 0 insert: 624054, 0 insert: -920219, 950731 insert: -668240, 589270 insert: 144380, 650073 insert: 58638, 0 insert: -387887, 606354 insert: 243145, 0 insert: -810560, -758977 insert: -207870, -50441 insert: -901535, 0 insert: 58215, 595527 insert: 934975, -863716 insert: -277610, 34426 insert: -29043, -988096 insert: -187750, 0 insert: 961922, -646010 insert
JOJ Answer
========== Resulting HashTable ========== 0 | {961762, -904538} 1 | {-61971, -922160} 2 | {-61970, -915421} 3 | {480884, -730132} 4 | 5 | 6 | {-542847, 716729} 7 | 8 | 9 | 10 | 11 | 12 | {480893, -855715} 13 | {-542840, 7372} {961775, -698088} 14 | 15 | {-542838, -119057} 16 | 17 | {-542836, -201935} {961779, 767984} 18 | 19 | {-61953, 505791} 20 | 21 | {-61951, 102214} 22 | 23 | 24 | 25 | 26 | 27 | {961789, 631048} 28 | {-542825, 24601} 29 | 30 | 31 | {-542822, 948867} 32 | 33 | {-61939, -289394} 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | {961803, 625005} 42 | 43 | {-542810, -435305} {961805, 840908} 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | {-61921, -637753} 52 | {-542801, -356913} {480933, 505710} 53 | 54 | 55 | {55, -265902} 56 | 57 | 58 | {-542795, 743206} 59 |