#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<int> v;
  for (int i = 0; i <= 200010; i++) v.push_back(0);
  int n, k, q;
  cin >> n >> k >> q;
  for (int i = 0; i < n; i++) {
    int a, b;
    scanf("%d %d", &a, &b);
    v[a] += 1;
    v[b + 1] -= 1;
  }
  vector<int> ans;
  for (int i = 1; i <= 200010; i++) {
    v[i] = v[i] + v[i - 1];
    if (v[i] >= k) ans.push_back(i);
  }
  while (q--) {
    int a, b;
    scanf("%d %d", &a, &b);
    int x = upper_bound(ans.begin(), ans.end(), b) -
            lower_bound(ans.begin(), ans.end(), a);
    printf("%d\n", x);
  }
  return 0;
}
