提交时间:2020-08-22 10:07:43

运行 ID: 5989

#include <iostream> #include <cstdio> #include <cmath> using namespace std; int main() { double n, t, h, c ; cin >> t >> n ; c = t / n; h = n * 2; printf("%.3f\n",c ); cout << h; return 0; }