3 solutions

  • 0
    @ 2025-9-4 20:08:36
    
    输入n;
    -首重*2元
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	
    int n;
    cin>>n;
    cout<<12+(n-1)*2;
    return 0;
    }
    

    Information

    ID
    999
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    7
    Tags
    # Submissions
    63
    Accepted
    13
    Uploaded By