fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. double n, m, t;
  6. cin >> n >> m;
  7. t =(m/n)*5;
  8. cout << fixed << setprecision(1) << t << " horas.";
  9. return 0;
  10. }
Success #stdin #stdout 0s 5280KB
stdin
1 1
stdout
5.0 horas.