hiho week 140 register

Ended

Participants:351

Verdict:Accepted
Score:100 / 100
Submitted:2017-03-10 09:40:17

Lang:G++

Edit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
//  main.cpp
//  
//
//  Created by Jiao Liu on 3/9/17.
//  Copyright © 2017 ChangHong. All rights reserved.
//
#include <iostream>
#include <vector>
#include <list>
using namespace std;
struct post
{
    int x1,y1,x2,y2;
};
vector<post> stack;
int W,H,N;
bool isSep(post x, post y)
{
    if (x.x1 >= y.x2 || y.x1 >= x.x2) {
        return true;
    }
    if (x.y1 >= y.y2 || y.y1 >= x.y2) {
        return true;
    }
    return false;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX