3 solutions

  • 0
    @ 2022-4-5 1:47:36

    水题

    #include <iostream>
    using namespace std;
    int main()
    {
        int sum = 1;
        for(int n = 2021; n >= 1; n-=2)
        {
            sum = (sum * n) % 100000;
        }
        cout << sum << endl;
        return 0;
    }
    

    Information

    ID
    104
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    6
    Tags
    # Submissions
    887
    Accepted
    285
    Uploaded By