0_0_26040326_10935.cpp: In function 'void READ()':
0_0_26040326_10935.cpp:111:6: error: redefinition of 'void READ()'
void READ() {
^
0_0_26040326_10935.cpp:4:6: note: 'void READ()' previously defined here
void READ() {
^
0_0_26040326_10935.cpp: At global scope:
0_0_26040326_10935.cpp:129:11: error: redefinition of 'const int maxn'
const int maxn = 1e5 + 100;
^
0_0_26040326_10935.cpp:22:11: note: 'const int maxn' previously defined here
const int maxn = 1e5 + 100;
^
0_0_26040326_10935.cpp:130:11: error: redefinition of 'const int N'
const int N = 100 + 1e5;
^
0_0_26040326_10935.cpp:23:11: note: 'const int N' previously defined here
const int N = 100 + 1e5;
^
0_0_26040326_10935.cpp:132:21: error: redefinition of 'int c [200300]'
int c[maxn * 2 + 100], L[maxn], R[maxn], l[N], r[N], cnt;
^
0_0_26040326_10935.cpp:25:5: note: 'int c [200300]' previously declared here
int c[maxn * 2 + 100], L[maxn], R[maxn], l[N], r[N], cnt;
^
0_0_26040326_10935.cpp:132:30: error: redefinition of 'int L [100100]'
int c[maxn * 2 + 100], L[maxn], R[maxn], l[N], r[N], cnt;
^
0_0_26040326_10935.cpp:25:24: note: 'int L [100100]' previously declared here
int c[maxn * 2 + 100], L[maxn], R[maxn], l[N], r[N], cnt;
^
0_0_26040326_10935.cpp:132:39: error: redefinition of 'int R [100100]'
int c[maxn * 2 + 100], L[maxn], R[maxn], l[N], r[N], cnt;
^
0_0_26040326_10935.cpp:25:33: note: 'int R [100100]' previously declared here
int c[maxn * 2 + 100], L[maxn], R[maxn], l[N], r[N], cnt;
^
0_0_26040326_10935.cpp:132:45: error: redefinition of 'int l [100100]'
int c[maxn * 2 + 100], L[maxn], R[maxn], l[N], r[N], cnt;
^
0_0_26040326_10935.cpp:25:42: note: 'int l [100100]' previously declared here
int c[maxn * 2 + 100], L[maxn], R[maxn], l[N], r[N], cnt;
^
0_0_26040326_10935.cpp:132:51: error: redefinition of 'int r [100100]'
int c[maxn * 2 + 100], L[maxn], R[maxn], l[N], r[N], cnt;
^
0_0_26040326_10935.cpp:25:48: note: 'int r [100100]' previously declared here
int c[maxn * 2 + 100], L[maxn], R[maxn], l[N], r[N], cnt;
^
0_0_26040326_10935.cpp:132:55: error: redefinition of 'int cnt'
int c[maxn * 2 + 100], L[maxn], R[maxn], l[N], r[N], cnt;
^
0_0_26040326_10935.cpp:25:55: note: 'int cnt' previously declared here
int c[maxn * 2 + 100], L[maxn], R[maxn], l[N], r[N], cnt;
^
0_0_26040326_10935.cpp:133:8: error: redefinition of 'LL w [100100]'
LL w[N],un[maxn << 2];
^
0_0_26040326_10935.cpp:26:5: note: 'LL w [100100]' previously declared here
LL w[N],un[maxn << 2];
^
0_0_26040326_10935.cpp:133:22: error: redefinition of 'LL un [400400]'
LL w[N],un[maxn << 2];
^
0_0_26040326_10935.cpp:26:10: note: 'LL un [400400]' previously declared here
LL w[N],un[maxn << 2];
^
0_0_26040326_10935.cpp:135:5: error: redefinition of 'int n'
int n, m, dfn, k, t, id;
^
0_0_26040326_10935.cpp:28:5: note: 'int n' previously declared here
int n, m, dfn, k, t, id;
^
0_0_26040326_10935.cpp:135:8: error: redefinition of 'int m'
int n, m, dfn, k, t, id;
^
0_0_26040326_10935.cpp:28:8: note: 'int m' previously declared here
int n, m, dfn, k, t, id;
^
0_0_26040326_10935.cpp:135:11: error: redefinition of 'int dfn'
int n, m, dfn, k, t, id;
^
0_0_26040326_10935.cpp:28:11: note: 'int dfn' previously declared here
int n, m, dfn, k, t, id;
^
0_0_26040326_10935.cpp:135:16: error: redefinition of 'int k'
int n, m, dfn, k, t, id;
^
0_0_26040326_10935.cpp:28:16: note: 'int k' previously declared here
int n, m, dfn, k, t, id;
^
0_0_26040326_10935.cpp:135:19: error: redefinition of 'int t'
int n, m, dfn, k, t, id;
^
0_0_26040326_10935.cpp:28:19: note: 'int t' previously declared here
int n, m, dfn, k, t, id;
^
0_0_26040326_10935.cpp:135:22: error: redefinition of 'int id'
int n, m, dfn, k, t, id;
^
0_0_26040326_10935.cpp:28:22: note: 'int id' previously declared here
int n, m, dfn, k, t, id;
^
0_0_26040326_10935.cpp: In function 'void dfs(int)':
0_0_26040326_10935.cpp:136:6: error: redefinition of 'void dfs(int)'
void dfs ( int x ) {
^
0_0_26040326_10935.cpp:29:6: note: 'void dfs(int)' previously defined here
void dfs ( int x ) {
^
0_0_26040326_10935.cpp: In function 'void PushUP(int)':
0_0_26040326_10935.cpp:155:6: error: redefinition of 'void PushUP(int)'
void PushUP ( int rt ) {
^
0_0_26040326_10935.cpp:48:6: note: 'void PushUP(int)' previously defined here
void PushUP ( int rt ) {
^
0_0_26040326_10935.cpp: In function 'void update(int, int, int, int, int)':
0_0_26040326_10935.cpp:158:6: error: redefinition of 'void update(int, int, int, int, int)'
void update ( int p, int add, int l, int r, int rt ) {
^
0_0_26040326_10935.cpp:51:6: note: 'void update(int, int, int, int, int)' previously defined here
void update ( int p, int add, int l, int r, int rt ) {
^
0_0_26040326_10935.cpp: In function 'LL query(int, int, int, int, int)':
0_0_26040326_10935.cpp:170:4: error: redefinition of 'LL query(int, int, int, int, int)'
LL query ( int ql, int qr, int l, int r, int rt ) {
^
0_0_26040326_10935.cpp:63:4: note: 'LL query(int, int, int, int, int)' previously defined here
LL query ( int ql, int qr, int l, int r, int rt ) {
^
0_0_26040326_10935.cpp: At global scope:
0_0_26040326_10935.cpp:181:4: error: redefinition of 'LL wi'
LL wi, op, ansl, ansr;
^
0_0_26040326_10935.cpp:74:4: note: 'LL wi' previously declared here
LL wi, op, ansl, ansr;
^
0_0_26040326_10935.cpp:181:8: error: redefinition of 'LL op'
LL wi, op, ansl, ansr;
^
0_0_26040326_10935.cpp:74:8: note: 'LL op' previously declared here
LL wi, op, ansl, ansr;
^
0_0_26040326_10935.cpp:181:12: error: redefinition of 'LL ansl'
LL wi, op, ansl, ansr;
^
0_0_26040326_10935.cpp:74:12: note: 'LL ansl' previously declared here
LL wi, op, ansl, ansr;
^
0_0_26040326_10935.cpp:181:18: error: redefinition of 'LL ansr'
LL wi, op, ansl, ansr;
^
0_0_26040326_10935.cpp:74:18: note: 'LL ansr' previously declared here
LL wi, op, ansl, ansr;
^
0_0_26040326_10935.cpp:182:16: error: redefinition of 'long double s [100100]'
long double s[N];
^
0_0_26040326_10935.cpp:75:13: note: 'long double s [100100]' previously declared here
long double s[N];
^
0_0_26040326_10935.cpp: In function 'int main()':
0_0_26040326_10935.cpp:183:5: error: redefinition of 'int main()'
int main() {
^
0_0_26040326_10935.cpp:76:5: note: 'int main()' previously defined here
int main() {
^
|