Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int n, a, b;
- cin >> n;
- cin >> a;
- cin >> b;
- int bliska = n / a;
- int dalecna = n / b;
- cout << dalecna - bliska << endl;
- return 0;
- }
Advertisement
Advertisement