Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99950 向睿杰 03自由落体 C++ Compile Error 0 MS 0 KB 166 2024-12-01 11:42:05

Tests(0/0):


Code:

#include<iostream> using namespace std; int main() { double g=9.8 cout<<5*g<<endl; cout<<10*g<<endl; cout<<15*g<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:5: error: expected ',' or ';' before 'cout'
     cout<<5*g<