Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
137606 Kevin x的n次方 C++ Wrong Answer 1 MS 272 KB 202 2025-11-21 15:56:44

Tests(3/10):


Code:

#include<bits/stdc++.h> using namespace std; int cifang(int a,int b){ if(b==1) return a; else return cifang(a,b-1)*a; } int main() { int a,b; cin>>a>>b; cout<<cifang(a,b); return 0; }


Run Info:

------Input------
-2 49
------Answer-----
-562949953421312
------Your output-----
0