我写的是 O(nk+m3+nlogm)O(nk + m^3 + n \log m)O(nk+m3+nlogm)
最大的是 nknknk,值为 5×1085 \times 10 ^85×108。4s我寻思着应该能过啊)))