3 条题解

  • 0
    @ 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
    难度
    6
    标签
    递交数
    18
    已通过
    11
    上传者