摘要: 矩阵$arr, 查找是否包含目标值$tg function a($arr, $n, $tg) { $i = 0; $j = $n; while (true) { if ($tg == $arr[$i][$j]) { return "找到了" . $i . ' ' . $j; } else if ($ 阅读全文
posted @ 2017-03-27 11:08 Thomas_188 阅读(192) 评论(0) 推荐(0) 编辑