| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 147902 | 蒋沛霖 | 复杂算式 | C++ | Accepted | 100 | 0 MS | 252 KB | 236 | 2024-05-20 13:36:39 |
#include<iostream> #include<cmath> #include<iomanip> using namespace std; int main(){ double x,n,ans; cin>>x>>n; ans=x; for(int i=1;i<=n;i++){ ans=sqrt(i+ans); } cout<<setprecision(2)<<fixed<<ans<<endl; return 0; }