Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
326071 顾子丞 【C2-4】小玉在游泳 C++ 解答错误 0 1 MS 248 KB 199 2025-06-10 21:27:12

Tests(0/2):


#include<iostream> using namespace std; int main(){ double x,speed=2; int c=0; cin>>x; for(double lon=0;lon<x;lon+=speed){ speed=speed*(1.0*98/100); c++; } cout<<c; return 0; }


测评信息: