A.cpp 231 B

12345678910111213
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4. int main(int argc, char const *argv[]) {
  5. for (double h; cin >> h;) {
  6. cout << fixed << setprecision(1) << (h - 100) * 0.9 * 2 << endl;
  7. }
  8. return 0;
  9. }