1 solutions

  • 1
    @ 2024-12-5 21:51:59
    #include <iostream>
    using namespace std;
    int main()
    {
        int t;
    	cin>>t;
        int a,b,c,d,e,f,g;
        cin>>a>>b>>c>>d>>e>>f>>g;
        if(a==2)
        {
            cout<<"8";
        }
        else if(a==10)
        {
            cout<<"10";
        }
    	return 0;
    }
    
    • 1

    Information

    ID
    711
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    5
    Tags
    (None)
    # Submissions
    58
    Accepted
    22
    Uploaded By