Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
37865 | 奚晨瑞 | 【基础题】求和(7) | C++ | Wrong Answer | 0 MS | 244 KB | 166 | 2024-01-23 17:10:40 |
#include<iostream> using namespace std; int main() { float s=0; int t=1; for(int i=1;i<=100;i++){ s+=(1.0/t); t*=(i+1); } cout<<s; return 0; }