hiho week 64 register

Ended

Participants:874

Verdict:Accepted
Score:100 / 100
Submitted:2015-09-22 21:10:49

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<vector>
#include<algorithm>
#include<stdio.h>
#include<string.h>
#include<string>
using namespace std;
#define ll long long 
#define re(i,n) for(int i=0;i<n;i++)
const int maxn = 1007;
int n;
/*
Sec,;
Panel.
a.size()
h
*/
struct Sec{
    vector<int>a;
    int h; 
};
/*
vectorpanel.panel.
h
cntpanel
*/
vector<Sec>a[maxn];
int h[maxn],cnt[maxn];
bool cmp(const Sec&m, const Sec&n){
    return m.h > n.h;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX