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 Memory 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
f-103034at2 f1:0 f-103034at2 f1:0 []2:1,5 f-103034at2 f3:1 f-103034at2 f3:1 f-103034at2 f3:1 []1:1,5 f-103034at2 f3:1 f-103034at2 f3:1 []1:1,5 f-62656at0 f1:1 f-62656at0 f1:1 []2:2,5 f-62656at0 f3:2 f-62656at0 f3:2 f-62656at0 f3:2 []1:2,5 f-62656at0 f3:2 f-62656at0 f3:2 []1:2,5 f-315059at2 f2:2 f-315059at2 f2:2 bs:5 bs1:11 f-62656at5 f1:3 i4:4 f-315059at8 f1:4 i4:5 f-103034at8 f2:5 bs:11 bs1:23 f-62656at2 f1:6 i4:7 f-103034at12 f1:7 i4:8 f-315059at1 f1:8 i4:9 nbs0:23 nbs1:23 i4:9 nbs0:23 nbs1:23 []2:9,23 f-315059at1 f3:9 f-315059at1 f3:9 f-315059at1 f3:9 []1:9,23 f-315059at1 f3:9 f-315059at1 f3:9 []1:9,23 f308291at22 f1:9 f308291at22 f1:9 []2:10,23 f308291at22 f3:10 f308291at22 f3:10 f308291at22 f3:10 []1:10,23 f308291at22 f3:10 f308291at22 f3:10 []1:10,23 f-357863at0 f1:10 f-357863at0 f1:10 []2:11,23 f-357863at0 f3:11 f-357863at0 f3:11 f-357863at0 f3:11 []1:11,23 f-357863at0 f3:11 f-357863at0 f3:11 []1:11,23 f-107171at15 f1:11 f-107171at15 f1:11 bs:23 bs1:47 f-357863at20 f1:12 i4:13 f-315059at7 f1:13 i4:14 f
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 |