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
find: -103034 isfind: 0 insert: -103034, 0 find: -103034 isfind: 1 operator[]: -103034, 0 find: -103034 isfind: 1 find: -103034 isfind: 1 find: -62656 isfind: 0 insert: -62656, 0 find: -62656 isfind: 1 operator[]: -62656, 0 find: -62656 isfind: 1 find: -62656 isfind: 1 find: -315059 isfind: 0 rehash: 5 Find mininaum size: 11 insert: -315059, 0 find: -315059 isfind: 1 operator[]: -315059, 0 find: -315059 isfind: 1 find: -315059 isfind: 1 find: 308291 isfind: 0 insert: 308291, 0 find: 308291 isfind: 0 operator[]: 308291, 0 find: 308291 isfind: 0 insert: 308291, 0 find: 308291 isfind: 0 operator[]: 308291, 0 find: 308291 isfind: 0 rehash: 11 Find mininaum size: 23 insert: 308291, 0 find: 308291 isfind: 1 operator[]: 308291, 0 find: -357863 isfind: 0 insert: -357863, 0 find: -357863 isfind: 1 operator[]: -357863, 0 find: -357863 isfind: 1 find: -357863 isfind: 1 find: -107171 isfind: 0 insert: -107171, 0 find: -107171 isfind: 1 operator[]: -107171, 0 find: -107171 isfind: 1 find: -107171 isfind: 1 find: 30277 isf
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 |