// parameter "input" gets all data
function Main(input) {
	// the first line is assigned to input[0], the second line is assigned to input[1] similarly.
	input = input.split("\n");
	tmp = input[0].split(" ");
	// convert string from integer using "parseInt"
	var n = parseInt(tmp[0], 10);
	var m = parseInt(tmp[1], 10);
	var q = parseInt(tmp[2], 10);
	var trains = [];
	for (var i = 0; i < m; i++) {
		var train  =input[i+1].split(" ");
		var q1 = parseInt(train[0], 10);
		var q2 = parseInt(train[1], 10);
		trains.push([q1,q2]);
	}
	function compare(a,b) {
	  if (a[0] < b[0])
	    return 1;
	  if (a[0] > b[0])
	    return -1;
	  if(a[1]>b[1])
	  	return -1;
	  if(a[1]<b[1])
	  	return 1;
	  return 0;
	}

	trains.sort(compare);
	var p = m;
	for (var j = 0; j < q; j++) {
		query = input[++p].split(" ");
		var q1 = parseInt(query[0], 10);
		var q2 = parseInt(query[1], 10);
		var ans = 0;
		for (var i in trains) {
			if(trains[i][0]>=q1){
				if(trains[i][1]<=q2)
					ans++;
			}
			else
				break;
		}
		console.log('%d',ans);
	}
	//output
}
// Don't edit this line!
Main(require("fs").readFileSync("/dev/stdin", "utf8"));