0_0_13811793_1517.cpp:6:9: error: 'maxn' was not declared in this scope
int cor[maxn];
^
0_0_13811793_1517.cpp:9:5: error: 'maxn' was not declared in this scope
} r[maxn];
^
0_0_13811793_1517.cpp: In function 'void init()':
0_0_13811793_1517.cpp:23:39: error: 'r' was not declared in this scope
for (int i=0; i<n; i++) scanf("%d", &r[i].a);
^
0_0_13811793_1517.cpp:24:39: error: 'r' was not declared in this scope
for (int i=0; i<n; i++) scanf("%d", &r[i].b);
^
0_0_13811793_1517.cpp:25:7: error: 'r' was not declared in this scope
sort(r, r+n, cmp);
^
0_0_13811793_1517.cpp:25:18: error: 'sort' was not declared in this scope
sort(r, r+n, cmp);
^
0_0_13811793_1517.cpp: In function 'void solve()':
0_0_13811793_1517.cpp:29:26: error: 'cor' was not declared in this scope
int i=0, last=0; memset(cor, 0, sizeof cor);
^
0_0_13811793_1517.cpp:29:44: error: 'memset' was not declared in this scope
int i=0, last=0; memset(cor, 0, sizeof cor);
^
0_0_13811793_1517.cpp:33:24: error: 'r' was not declared in this scope
while (i+1!=n && equ(r[i], r[i+1])){
^
0_0_13811793_1517.cpp:36:16: error: 'r' was not declared in this scope
while (last!=r[i].a){
^
0_0_13811793_1517.cpp:40:21: error: 'r' was not declared in this scope
int tmp = (n+1 - (r[i].a+r[i].b) + 1);
^
|