提交时间:2020-08-22 10:10:51

运行 ID: 5992

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