3 条题解

  • -2
    @ 2024-12-22 16:06:06
    ```cpp
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        //还是要撸代码的,神。
        int a,n,A;
        cin>>a>>n;
        A=a;
        while(n-1){
            a*=A;
            n--;
        }
        cout<<a;
    return 0;
    }
    
    

    信息

    ID
    164
    时间
    1000ms
    内存
    128MiB
    难度
    5
    标签
    递交数
    21
    已通过
    12
    上传者