Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
123845 李俊博 12自由落体 C++ Compile Error 0 MS 0 KB 282 2025-07-10 14:17:30

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ /** long long a,b,c; cin>>a>>b>>c; if(a%c==0 && b%c==0){ cout<<a*b/(c*c); }else{ cout<<-1; } **/ double h=100; for(int i=1;i<=10;i++){ h = h/2 } printf("%.6lf",h); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:17:2: error: expected ';' before '}' token
  } 
  ^