Using two layer of Monte Carlo and Greey algorithm, I managed to gain AC, though still achievable at small numbers.
below are my codes in Github:https://github.com/yawn-lento/yawn-s-codes/blob/main/P1004%20%E5%8F%8C%E5%B1%82%E9%9A%8F%E6%9C%BA%E5%B5%8C%E5%A5%97%E5%B0%9D%E8%AF%95.cpp



