1 solutions

  • 0
    @ 2025-6-7 13:52:35

    P23 【例6.3】 套盒子

    #include<bits/stdc++.h>
    using namespace std;
    int main() {
        int n1;
        int n2;
        int n3;
        cin>>n1>>n2>>n3;
        cout<<n1+(n1*n2)+(n1*n2*n3);
        return 0;
    }
    
    • 1

    Information

    ID
    1645
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    6
    Tags
    # Submissions
    112
    Accepted
    35
    Uploaded By