提交时间:2022-07-20 18:51:04

运行 ID: 29529

#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; }