Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5917 peng 小玉在游泳 C++ 通过 100 1 MS 788 KB 213 2020-08-20 15:34:16

Tests(30/30):


#include <iostream> #include <cstdio> using namespace std; int main () { double g,m=0,s=0,r=1; cin >> g; while(m<g) { s++; m+=2*r; r*=0.98; } cout << s; return 0; }


测评信息: