0_0_22139564_9766\Main.java:1: 错误: 非法字符: '#'
#include<map>
^
0_0_22139564_9766\Main.java:1: 错误: 需要class, interface或enum
#include<map>
^
0_0_22139564_9766\Main.java:2: 错误: 非法字符: '#'
#include<set>
^
0_0_22139564_9766\Main.java:3: 错误: 非法字符: '#'
#include<ctime>
^
0_0_22139564_9766\Main.java:4: 错误: 非法字符: '#'
#include<cmath>
^
0_0_22139564_9766\Main.java:5: 错误: 非法字符: '#'
#include<queue>
^
0_0_22139564_9766\Main.java:6: 错误: 非法字符: '#'
#include<string>
^
0_0_22139564_9766\Main.java:7: 错误: 非法字符: '#'
#include<vector>
^
0_0_22139564_9766\Main.java:8: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_22139564_9766\Main.java:9: 错误: 非法字符: '#'
#include<cstring>
^
0_0_22139564_9766\Main.java:10: 错误: 非法字符: '#'
#include<iostream>
^
0_0_22139564_9766\Main.java:11: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_22139564_9766\Main.java:12: 错误: 非法字符: '#'
#include<functional>
^
0_0_22139564_9766\Main.java:14: 错误: 非法字符: '#'
#define ms(x,y) memset(x,y,sizeof(x))
^
0_0_22139564_9766\Main.java:14: 错误: 需要class, interface或enum
#define ms(x,y) memset(x,y,sizeof(x))
^
0_0_22139564_9766\Main.java:15: 错误: 非法字符: '#'
#define rep(i,j,k) for(int i=j;i<=k;i++)
^
0_0_22139564_9766\Main.java:15: 错误: 需要class, interface或enum
#define rep(i,j,k) for(int i=j;i<=k;i++)
^
0_0_22139564_9766\Main.java:15: 错误: 需要class, interface或enum
#define rep(i,j,k) for(int i=j;i<=k;i++)
^
0_0_22139564_9766\Main.java:16: 错误: 非法字符: '#'
#define per(i,j,k) for(int i=j;i>=k;i--)
^
0_0_22139564_9766\Main.java:16: 错误: 需要class, interface或enum
#define per(i,j,k) for(int i=j;i>=k;i--)
^
0_0_22139564_9766\Main.java:16: 错误: 需要class, interface或enum
#define per(i,j,k) for(int i=j;i>=k;i--)
^
0_0_22139564_9766\Main.java:17: 错误: 非法字符: '#'
#define loop(i,j,k) for (int i=j;i!=-1;i=k[i])
^
0_0_22139564_9766\Main.java:17: 错误: 需要class, interface或enum
#define loop(i,j,k) for (int i=j;i!=-1;i=k[i])
^
0_0_22139564_9766\Main.java:17: 错误: 需要class, interface或enum
#define loop(i,j,k) for (int i=j;i!=-1;i=k[i])
^
0_0_22139564_9766\Main.java:18: 错误: 非法字符: '#'
#define inone(x) scanf("%d",&x)
^
0_0_22139564_9766\Main.java:19: 错误: 非法字符: '#'
#define intwo(x,y) scanf("%d%d",&x,&y)
^
0_0_22139564_9766\Main.java:20: 错误: 非法字符: '#'
#define inthr(x,y,z) scanf("%d%d%d",&x,&y,&z)
^
0_0_22139564_9766\Main.java:21: 错误: 非法字符: '#'
#define infou(x,y,z,p) scanf("%d%d%d%d",&x,&y,&z,&p)
^
0_0_22139564_9766\Main.java:22: 错误: 非法字符: '#'
#define lson x<<1,l,mid
^
0_0_22139564_9766\Main.java:23: 错误: 非法字符: '#'
#define rson x<<1|1,mid+1,r
^
0_0_22139564_9766\Main.java:24: 错误: 非法字符: '#'
#define mp(i,j) make_pair(i,j)
^
0_0_22139564_9766\Main.java:25: 错误: 非法字符: '#'
#define ft first
^
0_0_22139564_9766\Main.java:26: 错误: 非法字符: '#'
#define sd second
^
0_0_22139564_9766\Main.java:28: 错误: 需要class, interface或enum
typedef pair<int, int> pii;
^
0_0_22139564_9766\Main.java:29: 错误: 需要class, interface或enum
const int low(int x) { return x&-x; }
^
0_0_22139564_9766\Main.java:29: 错误: 需要class, interface或enum
const int low(int x) { return x&-x; }
^
0_0_22139564_9766\Main.java:31: 错误: 需要class, interface或enum
const int mod = 1e9 + 7;
^
0_0_22139564_9766\Main.java:32: 错误: 需要class, interface或enum
const int N = 1e5 + 10;
^
0_0_22139564_9766\Main.java:33: 错误: 需要class, interface或enum
const double eps = 1e-10;
^
0_0_22139564_9766\Main.java:34: 错误: 需要class, interface或enum
int T, n, m, cnt, x, y, z;
^
0_0_22139564_9766\Main.java:35: 错误: 需要class, interface或enum
pii a[N], b[N];
^
0_0_22139564_9766\Main.java:36: 错误: 需要class, interface或enum
multiset<int> p;
^
0_0_22139564_9766\Main.java:38: 错误: 需要class, interface或enum
int main()
^
0_0_22139564_9766\Main.java:40: 错误: 需要class, interface或enum
for (inone(T); T--;)
^
0_0_22139564_9766\Main.java:40: 错误: 需要class, interface或enum
for (inone(T); T--;)
^
0_0_22139564_9766\Main.java:43: 错误: 需要class, interface或enum
a[cnt = 0].sd = -1;
^
0_0_22139564_9766\Main.java:44: 错误: 需要class, interface或enum
rep(i, 1, n)
^
0_0_22139564_9766\Main.java:47: 错误: 需要class, interface或enum
if (a[i].ft == a[cnt].sd + 1) a[cnt].sd = a[i].sd;
^
0_0_22139564_9766\Main.java:48: 错误: 需要class, interface或enum
else a[++cnt] = a[i];
^
0_0_22139564_9766\Main.java:49: 错误: 需要class, interface或enum
}
^
0_0_22139564_9766\Main.java:50: 错误: 需要class, interface或enum
n = cnt; cnt = 0;
^
0_0_22139564_9766\Main.java:51: 错误: 需要class, interface或enum
rep(i, 1, m)
^
0_0_22139564_9766\Main.java:54: 错误: 需要class, interface或enum
if (y - z + 1 < x) continue;
^
0_0_22139564_9766\Main.java:55: 错误: 需要class, interface或enum
b[++cnt] = mp(x, z);
^
0_0_22139564_9766\Main.java:56: 错误: 需要class, interface或enum
b[++cnt] = mp(y - z + 2, -z);
^
0_0_22139564_9766\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_22139564_9766\Main.java:59: 错误: 需要class, interface或enum
m = cnt;
^
0_0_22139564_9766\Main.java:60: 错误: 需要class, interface或enum
sort(b + 1, b + m + 1);
^
0_0_22139564_9766\Main.java:61: 错误: 需要class, interface或enum
int ans = 0; p.clear();
^
0_0_22139564_9766\Main.java:61: 错误: 需要class, interface或enum
int ans = 0; p.clear();
^
0_0_22139564_9766\Main.java:62: 错误: 需要class, interface或enum
for (int i = 1, j = 1; i <= n; i++)
^
0_0_22139564_9766\Main.java:62: 错误: 需要class, interface或enum
for (int i = 1, j = 1; i <= n; i++)
^
0_0_22139564_9766\Main.java:62: 错误: 需要class, interface或enum
for (int i = 1, j = 1; i <= n; i++)
^
0_0_22139564_9766\Main.java:64: 错误: 需要class, interface或enum
for (; j <= m&&b[j].ft <= a[i].ft; j++)
^
0_0_22139564_9766\Main.java:64: 错误: 需要class, interface或enum
for (; j <= m&&b[j].ft <= a[i].ft; j++)
^
0_0_22139564_9766\Main.java:67: 错误: 需要class, interface或enum
else p.insert(b[j].sd);
^
0_0_22139564_9766\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_22139564_9766\Main.java:70: 错误: 需要class, interface或enum
for (int k; j <= m && b[j].ft <= a[i].sd + 1; j = k)
^
0_0_22139564_9766\Main.java:70: 错误: 需要class, interface或enum
for (int k; j <= m && b[j].ft <= a[i].sd + 1; j = k)
^
0_0_22139564_9766\Main.java:70: 错误: 需要class, interface或enum
for (int k; j <= m && b[j].ft <= a[i].sd + 1; j = k)
^
0_0_22139564_9766\Main.java:72: 错误: 需要class, interface或enum
int L = b[j].ft - bef; bef = b[j].ft;
^
0_0_22139564_9766\Main.java:73: 错误: 需要class, interface或enum
if (last != INF)
^
0_0_22139564_9766\Main.java:76: 错误: 需要class, interface或enum
L -= g; last -= g;
^
0_0_22139564_9766\Main.java:76: 错误: 需要class, interface或enum
L -= g; last -= g;
^
0_0_22139564_9766\Main.java:77: 错误: 需要class, interface或enum
if (last == 0) ++ans, last = INF;
^
0_0_22139564_9766\Main.java:78: 错误: 需要class, interface或enum
}
^
0_0_22139564_9766\Main.java:82: 错误: 需要class, interface或enum
ans += L / now;
^
0_0_22139564_9766\Main.java:83: 错误: 需要class, interface或enum
last = L % now;
^
0_0_22139564_9766\Main.java:84: 错误: 需要class, interface或enum
if (last) last = now - last; else last = INF;
^
0_0_22139564_9766\Main.java:84: 错误: 需要class, interface或enum
if (last) last = now - last; else last = INF;
^
0_0_22139564_9766\Main.java:85: 错误: 需要class, interface或enum
}
^
0_0_22139564_9766\Main.java:86: 错误: 需要class, interface或enum
for (k = j; k <= m && b[k].ft == b[j].ft; k++)
^
0_0_22139564_9766\Main.java:86: 错误: 需要class, interface或enum
for (k = j; k <= m && b[k].ft == b[j].ft; k++)
^
0_0_22139564_9766\Main.java:89: 错误: 需要class, interface或enum
else p.insert(b
|