| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 65375 | 李志奇 | 06小数除法 | C++ | Compile Error | 0 MS | 0 KB | 154 | 2024-01-25 11:07:56 |
#include<iostream> using namespace std; int main(){ double a,b; cin >> a >> b; int e=a/b; double w=a-b*e printf("%.2lf,e") return 0; }
Main.cc: In function 'int main()':
Main.cc:8:5: error: expected ',' or ';' before 'printf'
printf("%.2lf,e")
^
Main.cc:7:9: warning: unused variable 'w' [-Wunused-variable]
double w=a-b*e
^