MSBOP 2015 Round3 register

Ended

Participants:978

Verdict:AC | AC
Submitted:2015-05-09 16:05:32

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
//
//  main.cpp
//  p3
//
//  Created by  on 15-4-2.
//  Copyright (c) 2015 . All rights reserved.
//
#include <iostream>
#include <algorithm>
#include <map>
#include <cstdio>
#include <cstring>
#include <string>
#include <set>
#include <queue>
using namespace std;
#define MA 100005
#define ll long long
struct Node{
    int id;
    ll start;
    ll value;
}node[MA], tn[MA];
int cmp(Node a, Node b){
    return a.start < b.start;
}
vector<int> edg[MA];
int n,ss;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX