| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155431 | 毛靖平 | 求解函数 | C++ | Accepted | 1 MS | 296 KB | 2463 | 2026-06-07 11:55:35 |
#include<bits/stdc++.h> using namespace std; double n,m,k; double a(double x,double y){ if(y==1) return x/(x+1); else return x/(y+a(x,y-1)); } int main(){ cin>>n>>m; k=a(n,m); printf("%.2lf",k); }