Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
354459 胡珂 【C2-4】小玉在游泳 C++ 通过 100 1 MS 240 KB 191 2025-10-03 13:15:16

Tests(2/2):


#include <bits/stdc++.h> using namespace std; int main() { double x,v=2.0; int c; cin >>x; for(int i = 1;x>0;i++) { x-=v; v*=0.98; c = i; } cout << c; return 0; }


测评信息: