1 solutions

  • 1
    @ 2023-10-15 17:21:52

    博弈论的题

    #include <iostream>
    #include <iomanip>
    #include <cmath>
    #include <algorithm>
    #define QAQ ios::sync_with_stdio(false),cin.tie(0),cout.tie(0)
    #define int long long
    using namespace std;
    signed main()
    {
        QAQ;
        int n,m;
        cin>>n>>m;
        if(n%(m+1)==0)
            cout<<"C!";
        else
            cout<<"A!";
        
        
        return 0;
    }
    

    不懂自己去看https://blog.csdn.net/qq_33765907/article/details/51174524 一样的原理

    • @ 2024-3-28 21:50:22

      学姐超级强!!!

  • 1

Information

ID
6667
Time
1000ms
Memory
256MiB
Difficulty
8
Tags
(None)
# Submissions
140
Accepted
22
Uploaded By