http://codeforces.com/problemset/problem/55/C
题意:一个博弈。
题解:瞎猜,目前不清楚原理
#include<iostream>
#include<stdio.h>
#include<algorithm>
using namespace std;
typedef long long ll;
int main(){
int n,m,k;
cin>>n>>m>>k;
int ok=; for(int i=;i<=k;i++){
int x,y;
cin>>x>>y;
if(x<=||x>=n-||y<=||y>=m-){ok=;}
}
if(ok)cout<<"NO"<<endl;
else cout<<"YES"<<endl;
}