fork download
  1. #include <bits/stdc++.h>
  2. #define ll long long
  3. using namespace std;
  4. int main()
  5. {
  6. int x, y, z ;
  7. cin >> x >> y >> z;
  8. cout << (5*x + y )/z;
  9. return 0;
  10. }
Success #stdin #stdout 0s 5316KB
stdin
5
7
9
stdout
3