MSBOP 2015 Round3 register

Ended

Participants:978

Verdict:AC | AC
Submitted:2015-05-09 16:07:37

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 <cstdio>
#include <cstring>
#include <iostream>
#include <ctime>
#include <cmath>
#include <algorithm>
//#include "temperature.h"
#define maxn 200020
#define ll long long
using namespace std;
struct yqh
{
    int type;
    int l,r;
    int x;
    int id;
}a[maxn*2];
bool cmp(yqh a,yqh b)
{
    return a.x<b.x;
}
int n,m,tot,opt,mx,T;
struct tree
{
    int l,r;
    ll num;
}b[maxn*10];;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX