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

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:21: error: 'printf' was not declared in this scope
     printf("%.5lf",c);
                     ^