| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 130216 | 郝王骏程 | 求解函数 | C++ | Compile Error | 0 MS | 0 KB | 450 | 2025-09-08 21:01:33 |
#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; double f(double m,double n){ if (n==1) return m/(1+m); else return m/(n+f(m,n-1)); } int main(){ duoble a,b; cin>>a>>b; printf("%.2lf",f(a,b)); return 0; }
Main.cc: In function 'int main()':
Main.cc:16:5: error: 'duoble' was not declared in this scope
duoble a,b;
^
Main.cc:17:10: error: 'a' was not declared in this scope
cin>>a>>b;
^
Main.cc:17:13: error: 'b' was not declared in this scope
cin>>a>>b;
^