Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
86267 sh25_zhuhy 【基础题】求和(7) C++ 通过 1 MS 244 KB 174 2026-03-27 15:54:05

Tests(1/1):


#include<iostream> using namespace std; int main() { float s=0; int t=1; for(int i=1;i<=10;i++){ s+=(1.0/t); t*=(i+1); } printf("%.5f",s); return 0; }


测评信息: