hiho week 24 register

Ended

Participants:807

Verdict:Accepted
Score:100 / 100
Submitted:2014-12-13 22:55:51

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 <iostream>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
//hihocoderO(N^3)
using namespace std;
/**
*Thx
*
*/
/**
*
*i : sweet i, unique and vital.
*ll : strict ll and Set.
*/
/**
*
*/
#define lchild rt << 1 , l , m
#define rchild rt << 1 | 1 , m + 1 , r
const int maxn = 1000000;
int tree[maxn<<2];
int DataSuitCount = 0;
int dataCount = 0;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX