3 solutions

  • 0
    @ 2023-10-3 21:31:27

    这道题典型的签到题

    #include <bits/stdc++.h>
    using namespace std;
    int main(void)
    {
        int n;
        cin>>n;
        for (int i=1;i<=n;i++)
        {
            if (i%2!=0)
            {
                cout<<"签到"<<endl;
            }
            else if (i%2==0)
            {
                cout<<"QAQ"<<endl;
            }
        }
        return 0;
    }
    

    Information

    ID
    26
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    5
    Tags
    # Submissions
    676
    Accepted
    250
    Uploaded By