#include <bits/stdc++.h>
using namespace std;
long long x1[2007], y11[2007], x2[2007], y2[2007], r[2007];
long long num[2007][2007];
inline long long read() {
  long long fl = 1, sum = 0;
  char w = getchar();
  while (w > '9' || w < '0') {
    if (w == '-') fl = -1;
    w = getchar();
  }
  while (w >= '0' && w <= '9') {
    sum = sum * 10 + w - '0';
    w = getchar();
  }
  return fl * sum;
}
int main() {
  long long n = read(), m = read(), k = read();
  for (long long i = 1; i <= n; i++) x1[i] = read(), y11[i] = read();
  for (long long i = 1; i <= m; i++)
    r[i] = read(), x2[i] = read(), y2[i] = read();
  memset(num, 0, sizeof(num));
  for (long long i = 1; i <= n; i++) {
    for (long long j = 1; j <= m; j++) {
      long long d = (x1[i] - x2[j]) * (x1[i] - x2[j]) +
                    (y11[i] - y2[j]) * (y11[i] - y2[j]);
      if (d < r[j] * r[j]) num[i][j] = 1;
    }
  }
  while (k--) {
    long long a = read(), b = read();
    long long sum = 0;
    for (long long i = 1; i <= m; i++)
      if (num[a][i] != num[b][i]) sum++;
    printf("%lld\n", sum);
  }
  return 0;
}
