Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
136698 鄢晨曦 12自由落体 C++ Compile Error 0 MS 0 KB 165 2025-11-15 14:49:38

Tests(0/0):


Code:

include<bits/stdc++.h> using namespace std; int main(){ double h=100; for(int a=1;a<=10;a++) { h=h/2; } printf(".6lf"h); return 0; }


Run Info:

Main.cc:1:1: error: 'include' does not name a type
 include
 ^
Main.cc: In function 'int main()':
Main.cc:9:9: error: unable to find string literal operator 'operator""h' with 'const char [5]', 'long unsigned int' arguments
  printf(".6lf"h);
         ^
Main.cc:9:16: error: 'printf' was not declared in this scope
  printf(".6lf"h);
                ^