Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
133133 张咏灏 求x的n次方 C++ Accepted 1 MS 272 KB 181 2025-10-14 20:29:15

Tests(2/2):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b; c=a; for(int i=1;i<b;i++){ a=a*c; } cout<<a<<endl; return 0; }