#include <bits/stdc++.h>
using namespace std;
long long n, m, k;
pair<long long, long long> control[1005];
bool incircle[1005][1005];
bool isInCircle(pair<long long, long long> point, long long x, long long y,
                long long r) {
  return (point.first - x) * (point.first - x) +
             (point.second - y) * (point.second - y) <=
         r * r;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> n >> m >> k;
  for (int i = 1; i <= n; i++) cin >> control[i].first >> control[i].second;
  for (int i = 1; i <= m; i++) {
    long long x, y, r;
    cin >> r >> x >> y;
    for (int j = 1; j <= n; j++) {
      incircle[j][i] = isInCircle(control[j], x, y, r);
    }
  }
  for (int i = 1, a, b; i <= k; i++) {
    cin >> a >> b;
    int ans = 0;
    for (int j = 1; j <= m; j++) {
      if (incircle[a][j] != incircle[b][j]) ans++;
    }
    cout << ans << endl;
  }
  return 0;
}
