Advertisement
Spocoman

Dance Hall

Sep 17th, 2023
631
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6.     double l, w, a;
  7.     cin >> l >> w >> a;
  8.  
  9.     double space = l * w - (l * w / 10) - a * a;
  10.     int dancers = (int)(space / 0.7040);
  11.    
  12.     cout << dancers << endl;
  13.  
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement