Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
440435 王璟源 【C2-4】小玉在游泳 C++ 通过 100 1 MS 244 KB 177 2026-05-13 19:14:25

Tests(2/2):


#include<iostream> using namespace std; int main(){ double x,s=0,v=2; int cnt=0; cin>>x; while(x>s){ cnt++; s=s+v; v=v*0.98; } cout<<cnt; return 0; }


测评信息: