Solution1 求模 + 模拟

  • t-complexity: $O(n)$

  • s-complexity: $O(1)$

Last updated