2 条题解

  • 0
    @ 2025-10-8 16:58:23
    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
        int n, m; scanf("%d%d", &n, &m);
        if(n % (m + 1)) puts("1");
        else puts("2");
        return 0;
    }
    
    • 0
      @ 2025-10-8 16:58:19
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          int n,m;scanf("%d%d",&n,&m);
          if(n%(m+1)) puts("1");
          else puts("2");
          return 0;
      }
      • 1

      *【巴什博弈Bash Game 】取石子游戏1

      信息

      ID
      1778
      时间
      1000ms
      内存
      64MiB
      难度
      5
      标签
      递交数
      101
      已通过
      35
      上传者