zoukankan      html  css  js  c++  java
  • CodeForces

    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=1;
        
        for(int i=1;i<=k;i++){
            int x,y;
            cin>>x>>y;
            if(x<=5||x>=n-4||y<=5||y>=m-4){ok=0;}
        }
        if(ok)cout<<"NO"<<endl;
        else cout<<"YES"<<endl;
    }
    成功的路并不拥挤,因为大部分人都在颓(笑)
  • 相关阅读:
    基于typora编写Markdown文档
    VMware Workstation常见的故障处理
    VMware Workstation产品常用的快捷键
    2
    1
    9
    8
    7
    6
    5
  • 原文地址:https://www.cnblogs.com/SuuT/p/8547333.html
Copyright © 2011-2022 走看看