import java.util.Scanner

import scala.collection.mutable.ArrayBuffer

object Main {
  def main(args: Array[String]): Unit = println(solve(new Scanner(System.in)))

  def solve(in: String): String = solve(new Scanner(in))

  def solve(sc: Scanner): String = {
    val N = sc.nextInt
    val M = sc.nextInt
    val Q = sc.nextInt
    val LR = Array.fill(M)(sc.nextInt, sc.nextInt)
    val pq = Array.fill(Q)(sc.nextInt, sc.nextInt)

    val D = Array.fill(501)(new ArrayBuffer[Int]())
    LR.foreach { case (l, r) =>
      D(l) += (r - l)
    }

    pq.map { case (p, q) =>
      var cnt = 0
      for (i <- p to q) {
        cnt += D(i).count {
          _ <= (q - i)
        }
      }
      cnt
    }.mkString("\n")
  }
}
