| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 80943 | 秦浩然 | 04保留两位小数 | C++ | Compile Error | 0 MS | 0 KB | 164 | 2024-07-11 17:05:58 |
#include<iostream> using namespace std; int main(){ doulbe a,b,c; cin>>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:6:10: error: 'a' was not declared in this scope
cin>>a>>b;
^
Main.cc:6:13: error: 'b' was not declared in this scope
cin>>a>>b;
^
Main.cc:7:5: error: 'c' was not declared in this scope
c=a/b;
^