hiho week 27 register

Ended

Participants:637

Verdict:Accepted
Score:100 / 100
Submitted:2015-01-09 23:43:08

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 <algorithm>
#include <cstring>
#include <sstream>
#include <vector>
#include <ostream>
#include <string>
#include <cstdlib>
#include <sstream>
#include <cmath>
#include <queue>
#include <stack>
#include <set>
#include <map>
#define PI acos(-1.0)
using namespace std;
const int maxx = 1e6 + 10;
struct edge
{
    int s;
    int x,y;
}kis[maxx];
int vis[maxx/10];
bool vis1[maxx];
int i, j;
int n, m;
bool cmd(edge x,edge y)
{
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX