#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long n, m, i, j, k, a, b, ans, INF = 1E9;
  cin >> n >> m >> k;
  vector<long long> x(n), y(n), rr(m), xx(m), yy(m);
  for (i = 0; i < n; i++) cin >> x[i] >> y[i];
  for (i = 0; i < m; i++) cin >> rr[i] >> xx[i] >> yy[i];
  vector<bitset<1002>> inside(n);
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      if ((x[i] - xx[j]) * (x[i] - xx[j]) + (y[i] - yy[j]) * (y[i] - yy[j]) <
          rr[j] * rr[j])
        inside[i][j] = true;
    }
  }
  vector<vector<int>> d(n, vector<int>(n, 0));
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++) {
      d[i][j] = (inside[i] ^ inside[j]).count();
    }
  }
  while (k--) {
    cin >> a >> b;
    ans = d[a - 1][b - 1];
    cout << ans << "\n";
  }
  return 0;
}
