| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 84378 | 刘慕莀 | 求x的n次方 | C++ | Wrong Answer | 1 MS | 268 KB | 147 | 2024-07-15 16:46:52 |
#include<bits/stdc++.h> using namespace std; int main(){ int x,n; cin>>x>>n; for(int i=1;i<=n-1;i++){ x=x*x; } cout<<x; return 0; }
------Input------
2 10
------Answer-----
1024
------Your output-----
0