| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 74554 | sh25_shenpy | 计算多项式的值 | C++ | Wrong Answer | 0 MS | 244 KB | 251 | 2025-11-29 13:14:07 |
#include<bits/stdc++.h> using namespace std; int main() { float x; double sum=0,w; int n; for(int i=n;i>=1;i--){ w=pow(x,i); sum+=w; } sum+=1; cout<<fixed<<setprecision(2)<<sum; return 0; }