Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
431847 沈昊煊 【C2-4】小玉在游泳 C++ 通过 100 2 MS 248 KB 171 2026-03-13 19:16:15

Tests(2/2):


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


测评信息: