| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 71299 | sh25_wangsj | 求出e的值 | C++ | Compile Error | 0 MS | 0 KB | 235 | 2025-10-24 22:02:32 |
#include <iostream> using namespace std; int main() { int a; double e=1,j=1; cin>>a; for(int i=1,i<=a,i=i+1){ j=j*i; e=e+1.0/j; } cout<<fixed<<setprecision(10)<<e; return 0; }