Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
117324 罗睿妍 13自由落体 C++ Wrong Answer 0 MS 268 KB 293 2025-04-17 07:32:52

Tests(0/1):


Code:

#include <iostream> using namespace std; int main() { double h=100; double d=100; double b; int i=1; while (i<11){ h/=2; d+= 2*h; i++; } b=h/2; cout.precision(6); cout<< fixed << d <<endl<< b <<endl; return 0; }


Run Info:

------Input------
0
------Answer-----
299.804688 0.097656
------Your output-----
299.804688 0.048828