Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
354455 胡珂 【C2-4】小玉在游泳 C++ Accepted 100 1 MS 248 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; }


Judgement Protocol: