foreach($abc as $k => $t) { $r[$t[0]]++;}foreach($abc as $s => $v){ $rr[$v[1]]=$r[$v[0]]; if($v[0]!=$abc[1][$v[0]]){ $rr[$v[1]]=$r[$v[0]]; }}
问题捏,你啥都没说啊