Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
77093 付博苏逸 04保留两位小数 C++ Compile Error 0 MS 0 KB 131 2024-06-08 12:11:54

Tests(0/0):


Code:

int main(){ double a,b,c; scanf("%lf%lf",&a,&b); c = a/b; printf("%.2lf",c); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:25: error: 'scanf' was not declared in this scope
     scanf("%lf%lf",&a,&b);
                         ^
Main.cc:7:21: error: 'printf' was not declared in this scope
     printf("%.2lf",c);   
                     ^