Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
7560 赖梓乐 求x的n次方 C++ Wrong Answer 0 MS 264 KB 357 2025-05-03 18:25:34

Tests(0/2):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int n,m,i; cin>>n>>m; for(i=1;i<=m;i++){ n=n*n; } cout<<n; return 0; }


Run Info:

------Input------
2 10
------Answer-----
1024
------Your output-----
0