Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148723 王峻熙 12自由落体 C++ Compile Error 0 MS 0 KB 182 2026-02-28 15:48:49

Tests(0/0):


Code:

#include<iostream> //cin\cout\endl using namespace std; intmain(){ double h=100; for(int i=1;i<=10;i++){ h=h/2; } printf("%.6lf",h); return 0; }


Run Info:

Main.cc:3:9: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
 intmain(){
         ^