| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158394 | 余建成 | x的n次方 | C++ | Compile Error | 0 MS | 0 KB | 205 | 2026-08-21 14:05:05 |
#include<iostream> using namespace std; loog loog c(int x,int n){ if(n==0) return 1; else{ return x,c(x,n-1)*x; } } int main(){ int s,t; cin>>s>>t; cout<<c(s,t)<<endl; return 0; }
Main.cc:3:1: error: 'loog' does not name a type
loog loog c(int x,int n){
^
Main.cc: In function 'int main()':
Main.cc:12:13: error: 'c' was not declared in this scope
cout<