Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
70672 黄枳润 13自由落体 C++ Accepted 1 MS 264 KB 206 2024-04-16 20:05:56

Tests(1/1):


Code:

#include<iostream> using namespace std; int main() { double i=100,j=100; for(int n=1;n<=10;n++){ i=i/2; j=j+i*2; } printf("%.6lf %.6lf",j,i); return 0; }