Advertisement
Josif_tepe

Untitled

Mar 1st, 2021
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3. #include <vector>
  4. #include <queue>
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9. int n, a, b;
  10. cin >> n >> a >> b;
  11. cout << (n / b) - (n / a) << endl;
  12.  
  13. return 0;
  14. }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement