Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
38666 | chenyifei | 【基础题】求和(2) | C++ | Wrong Answer | 0 MS | 244 KB | 140 | 2024-01-27 21:09:29 |
#include<iostream> using namespace std; int main() { double s=0; for(int i=1;i<=100;i++){ s=s+1.0/i; } cout<<s; return 0; }