| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155395 | 魏宏搏 | x的n次方 | C++ | Wrong Answer | 1 MS | 268 KB | 203 | 2026-06-07 11:27:24 |
#include<bits/stdc++.h> using namespace std; int cifang(int x,int n){ if(n==1) return x; else{ return (x*(n-1))*x; } } int main(){ int x,n; cin>>x>>n; cout<<cifang(x,n); return 0; }
------Input------
10 7
------Answer-----
10000000
------Your output-----
600