∑i=1n∑j=1mlcm(i,j)\sum\limits_{i=1}^{n} \sum\limits_{j=1}^{m} lcm(i,j)i=1∑nj=1∑mlcm(i,j)
做法能否做到 O(max(n,m))O(\max(n,m))O(max(n,m)) 或者更优?