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

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:7:1: error: 'cin' was not declared in this scope
 cin>>a>>b;
 ^
Main.cc:9:17: error: 'printf' was not declared in this scope
 printf("%.5lf",c);
                 ^