hiho week 142 register

Ended

Participants:332

Verdict:Accepted
Score:100 / 100
Submitted:2017-03-25 12:31: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
#include <cstdio>  
#include <cstring>  
#include <cmath>  
#include <cstdlib>  
#include <algorithm>  
#define ll long long  
using namespace std;  
int
const
MAX 
= 
1e3 + 5;  
int 
n
,
m
;  
int 
dir[MAX]; 
  
struct 
POINT  
{  
    int
    x
    ,
    y
    ;
}
p[MAX];  
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX