hiho week 64 register

Ended

Participants:874

Verdict:Accepted
Score:100 / 100
Submitted:2015-09-21 22:12:25

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<cstdio>
#include<vector>
#include<cstring>
#include<queue>
#include<map>
#include<stack>
#include<algorithm>
#include<list>
#include<cmath>
using namespace std;
struct section
{
    vector<int> varr;
    int maxlen;
};
struct row
{
    vector<section> varr;
    int len;
    int nv;
};
bool operator<(const section&ea,const section&eb);
void dfs_row(int ix);
void dfs_sec(section& ea);
bool cmp(int a,int b);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX