| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77094 | 秦浩然 | 04保留两位小数 | C++ | Compile Error | 0 MS | 0 KB | 206 | 2024-06-08 12:12:14 |
#include<iostream> #include<cstdio> int main(){ doulbe a,b,c; scanf("%lf%lf",&a,&b);//输出 c =a/b; printf("%.2lf",c);//输出 return 0;
Main.cc: In function 'int main()':
Main.cc:5:5: error: 'doulbe' was not declared in this scope
doulbe a,b,c;
^
Main.cc:7:21: error: 'a' was not declared in this scope
scanf("%lf%lf",&a,&b);//输出
^
Main.cc:7:24: error: 'b' was not declared in this scope
scanf("%lf%lf",&a,&b);//输出
^
Main.cc:9:5: error: 'c' was not declared in this scope
c =a/b;
^
Main.cc:15:12: error: expected '}' at end of input
return 0;
^