9 solutions

  • 0
    @ 2025-11-24 19:54:18
    
    #include<bits/stdc++.h>
    using namespace std;
    int f(int x)
    {
        return x+x-x+x-x;
    }
    int i(int y)
    {
        return 1*2*3*4*5*(y*10)/120;
    }
    int main()
    {
        int n;
        cin>>n;
        cout<<f(n)<<" "<<i(n);
        return 0;
    }
    

    Information

    ID
    3
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    # Submissions
    282
    Accepted
    122
    Uploaded By