3 条题解

  • 0
    @ 2025-7-28 15:13:17
    ```cpp
    #include<bits/stdc++.h>
    using namespace std;
    void hanshu(int shu,int cishu)
    {
    int l;
    l=shu;
    for(int i=1;i<cishu;i++)
    {
    	l=shu*l;
    }
    cout<<l;
    }
    int main()
    {
    //反正不是神,就来刷吗吧!!!
    int shu,cishu;
    cin>>shu>>cishu;
    hanshu(shu,cishu);
    return 0;
    }
    
    

    信息

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