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