Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
119991 白碣琨 12自由落体 C++ Compile Error 0 MS 0 KB 172 2025-05-23 20:53:51

Tests(0/0):


Code:

#include <iostream> using namespace std; int main() { double height = 100.0; for (int i = 1; i <= 9; i++) { cout 0/= 2; } cout << 2 <<endl


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:14: error: expected ';' before numeric constant
         cout 0/= 2; 
              ^
Main.cc:6:19: warning: statement has no effect [-Wunused-value]
         cout 0/= 2; 
                   ^
Main.cc:8:17: error: expected ';' at end of input
     cout << 2 <