a := ["重复","不","相同","不"]
b := ["重复","重","相同","相"]
C := ["重复","复","相同","不"]
d := ["重复","复","相同","不"]

msgbox % arr(a,b,c,d)

arr(arrIn*){
  For i,n in arrIn {
    For k,v in n {
      str .= v "`n"
      Sort str, U
    }
    strAll .= str
    str := ""
  }

  Sort strAll
  Loop {
    RegExMatch(strAll,"(.+?\n)\1{" arrIn.Length()-1 "}", str_In)
    str_Out .= "" str_In
    strAll := RegExReplace(strAll,str_In,,Num)
    if (!str_In)
      Break
    str_In := ""
  }
  Sort str_Out, U
  Return str_Out
}

 

声明:站内资源为整理优化好的代码上传分享与学习研究,如果是开源代码基本都会标明出处,方便大家扩展学习路径。请不要恶意搬运,破坏站长辛苦整理维护的劳动成果。本站为爱好者分享站点,所有内容不作为商业行为。如若本站上传内容侵犯了原著者的合法权益,请联系我们进行删除下架。