Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- int a[1001], b[1001];
- void array_filter(int n, int *a, int *b, int threshold, int &ans);
- int main ()
- {
- int n, th;
- cin >> n >> th;
- int ans;
- for (int i = 0; i < n; i++)
- {
- cin >> a[i] >> b[i];
- }
- array_filter(n, a, b, th, ans);
- cout << ans << '\n';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement