Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
5853 | Angie | 【深基2.例8】再分肥宅水 | C++ | 通过 | 100 | 0 MS | 784 KB | 195 | 2020-08-20 13:29:19 |
#include <iostream> #include <cstdio> using namespace std; int main() { int n,y; double t,x; cin >> t >> n; x=t/n; y=2*n; printf("%.3f\n",x); cout << y; return 0; }