a53

vas

a53
May 9th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. double x,y,z,t=0;
  7. cin>>x>>y>>z;
  8. while(x>z)
  9. x-=x/4,t++;
  10. cout<<t*y;
  11. }
Add Comment
Please, Sign In to add comment