| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 147508 | 凌嘉圻 | 复杂算式 | C++ | Accepted | 100 | 0 MS | 248 KB | 220 | 2024-05-18 15:38:42 |
#include <bits/stdc++.h> using namespace std; double f(double x,int n){ if(n==1) return sqrt(1+x); return sqrt(n+f(x,n-1)) ;} int main(){ double x;int n; cin>>x>>n; cout <<setprecision(2)<<fixed<<f(x,n); }