| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 148790 | 吴昊 | 14慈善募捐 | C++ | Accepted | 1 MS | 280 KB | 333 | 2026-02-28 19:47:54 |
#include <bits/stdc++.h> using namespace std; int main() { int n=0; long long a,b=0; for(int i=1;i<=1000;i++){ cin>>a; n++; b+=a; if(b>=100000){ cout<<n<<" "; printf("%.2lf",b*1.0/n); return 0; } } return 0; }