Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135717 孔声豪 06整数除法 C++ Compile Error 0 MS 0 KB 156 2025-11-08 12:01:17

Tests(0/0):


Code:

include<iostream> using namespace std; int main(){ int a,b; double c; cin>>a>>b; c=(double)(a)/b printf("%.5lf",c); return 0 }


Run Info:

Main.cc:1:1: error: 'include' does not name a type
 include   
 ^
Main.cc: In function 'int main()':
Main.cc:6:5: error: 'cin' was not declared in this scope
     cin>>a>>b;
     ^
Main.cc:8:5: error: expected ';' before 'printf'
     printf("%.5lf",c);
     ^
Main.cc:10:1: error: expected ';' before '}' token
 }
 ^