| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 432752 | 沈昊煊 | 【C2-4】小玉在游泳 | C++ | 通过 | 100 | 4 MS | 248 KB | 216 | 2026-03-17 16:26:40 |
#include<iostream> using namespace std; int main(){ int b=0; double x,z=2.0,sum=0; cin>>x; while(sum<x){ b++; sum=sum+z; z=z/100*98; if(x<=sum){ cout<<b; break; } } return 0; }