0_0_30110149_1829.cpp:48:26: error: stray '#' in program
void insert(int x,int wh)#include <bits/stdc++.h>
^
0_0_30110149_1829.cpp:48:27: error: expected initializer before 'include'
void insert(int x,int wh)#include <bits/stdc++.h>
^
0_0_30110149_1829.cpp:50:11: error: redefinition of 'const int MAXN'
const int MAXN=100010;
^
0_0_30110149_1829.cpp:3:11: note: 'const int MAXN' previously defined here
const int MAXN=100010;
^
0_0_30110149_1829.cpp:51:5: error: redefinition of 'int n'
int n,a[MAXN],p[MAXN],in_A[MAXN],in_B[MAXN];
^
0_0_30110149_1829.cpp:4:5: note: 'int n' previously declared here
int n,a[MAXN],p[MAXN],in_A[MAXN],in_B[MAXN];
^
0_0_30110149_1829.cpp:51:13: error: redefinition of 'int a [100010]'
int n,a[MAXN],p[MAXN],in_A[MAXN],in_B[MAXN];
^
0_0_30110149_1829.cpp:4:7: note: 'int a [100010]' previously declared here
int n,a[MAXN],p[MAXN],in_A[MAXN],in_B[MAXN];
^
0_0_30110149_1829.cpp:51:21: error: redefinition of 'int p [100010]'
int n,a[MAXN],p[MAXN],in_A[MAXN],in_B[MAXN];
^
0_0_30110149_1829.cpp:4:15: note: 'int p [100010]' previously declared here
int n,a[MAXN],p[MAXN],in_A[MAXN],in_B[MAXN];
^
0_0_30110149_1829.cpp:51:32: error: redefinition of 'int in_A [100010]'
int n,a[MAXN],p[MAXN],in_A[MAXN],in_B[MAXN];
^
0_0_30110149_1829.cpp:4:23: note: 'int in_A [100010]' previously declared here
int n,a[MAXN],p[MAXN],in_A[MAXN],in_B[MAXN];
^
0_0_30110149_1829.cpp:51:43: error: redefinition of 'int in_B [100010]'
int n,a[MAXN],p[MAXN],in_A[MAXN],in_B[MAXN];
^
0_0_30110149_1829.cpp:4:34: note: 'int in_B [100010]' previously declared here
int n,a[MAXN],p[MAXN],in_A[MAXN],in_B[MAXN];
^
0_0_30110149_1829.cpp:52:5: error: redefinition of 'int tot'
int tot,kwh,last;
^
0_0_30110149_1829.cpp:5:5: note: 'int tot' previously declared here
int tot,kwh,last;
^
0_0_30110149_1829.cpp:52:9: error: redefinition of 'int kwh'
int tot,kwh,last;
^
0_0_30110149_1829.cpp:5:9: note: 'int kwh' previously declared here
int tot,kwh,last;
^
0_0_30110149_1829.cpp:52:13: error: redefinition of 'int last'
int tot,kwh,last;
^
0_0_30110149_1829.cpp:5:13: note: 'int last' previously declared here
int tot,kwh,last;
^
0_0_30110149_1829.cpp:53:8: error: redefinition of 'struct node'
struct node
^
0_0_30110149_1829.cpp:6:8: error: previous definition of 'struct node'
struct node
^
0_0_30110149_1829.cpp:58:13: error: invalid type in declaration before ';' token
}sh[MAXN*30];
^
0_0_30110149_1829.cpp:58:13: error: conflicting declaration 'int sh [3000300]'
0_0_30110149_1829.cpp:11:2: note: previous declaration as 'node sh [2000200]'
}sh[MAXN*20];
^
0_0_30110149_1829.cpp: In function 'void get(int)':
0_0_30110149_1829.cpp:59:6: error: redefinition of 'void get(int)'
void get(int x)
^
0_0_30110149_1829.cpp:12:6: note: 'void get(int)' previously defined here
void get(int x)
^
0_0_30110149_1829.cpp: In function 'void get1(int)':
0_0_30110149_1829.cpp:77:6: error: redefinition of 'void get1(int)'
void get1(int x)
^
0_0_30110149_1829.cpp:30:6: note: 'void get1(int)' previously defined here
void get1(int x)
^
0_0_30110149_1829.cpp: At global scope:
0_0_30110149_1829.cpp:173:1: error: expected unqualified-id before '{' token
{
^
|