Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
437 | 关清声 | 求x的n次方 | C++ | Wrong Answer | 0 MS | 260 KB | 156 | 2022-08-19 15:19:54 |
#include<iostream> using namespace std; int main() { int n,x; cin>>n>>x; int t=x; for(int i=0;i<n;i++) { x*=t; } cout<<x; return 0; }
------Input------
2 10
------Answer-----
1024
------Your output-----
1000