Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
329866 黄浙峰老师 【C2-4】小玉在游泳 C++ 通过 100 2 MS 240 KB 168 2025-07-08 15:20:46

Tests(2/2):


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


测评信息: