#include <bits/stdc++.h>
using namespace std;
double x[1004], y[1004];
vector<int> v[1004];
double r[1004];
double a[1004];
double b[1004];
bool funk(int i, int j) {
  double dis =
      sqrt((x[i] - a[j]) * (x[i] - a[j]) + (y[i] - b[j]) * (y[i] - b[j]));
  if (dis < r[j]) return 1;
  return 0;
}
int d[1004][1004];
int main() {
  ios::sync_with_stdio(false);
  int n, m, i, j, k;
  cin >> n >> m >> k;
  for (i = 1; i <= n; i++) cin >> x[i] >> y[i];
  for (i = 1; i <= m; i++) cin >> r[i] >> a[i] >> b[i];
  for (i = 1; i <= n; i++) {
    for (j = 1; j <= m; j++) {
      if (funk(i, j)) v[i].push_back(j);
    }
  }
  for (i = 1; i <= n; i++) {
    for (j = i + 1; j <= n; j++) {
      int id = 0, cnt = 0;
      for (int t = 0; t < v[i].size(); t++) {
        if (id == v[j].size()) break;
        while (id < v[j].size() && v[j][id] < v[i][t]) id++;
        if (id == v[j].size()) break;
        if (v[j][id] == v[i][t]) id++, cnt++;
      }
      d[i][j] = v[i].size() + v[j].size() - 2 * cnt;
    }
  }
  int q, w;
  for (i = 1; i <= k; i++) {
    cin >> q >> w;
    if (q > w) swap(q, w);
    printf("%I64d\n", d[q][w]);
  }
}
