[[170, 41, 302, 91], [170, 90, 304, 724], [170, 730, 302, 755], [170, 753, 303, 1243], [302, 41, 564, 352], [302, 355, 564, 509], [302, 509, 564, 579], [302, 578, 564, 697], [302, 697, 564, 819], [302, 818, 569, 995], [302, 996, 564, 1060], [302, 1063, 564, 1242], [564, 41, 612, 352], [564, 355, 612, 1247], [612, 41, 730, 91], [612, 90, 730, 731], [612, 730, 730, 756], [612, 753, 730, 1243]]
这样一个二维数组,其中两两相差10以内的数有好几组,比如724,730 302,303,304 1243,1247 569和564等等
如何将这些组里的数统一都变为其中最大的数,如上述都变成730,304,1247,569……