0_0_19520014_11741.cpp:67:16: error: redefinition of 'const int MAX_A'
const int MAX_A(1e5);
^
0_0_19520014_11741.cpp:4:11: note: 'const int MAX_A' previously defined here
const int MAX_A(1e5);
^
0_0_19520014_11741.cpp:71:12: error: redefinition of 'int x [100000]'
int x[MAX_A];
^
0_0_19520014_11741.cpp:8:5: note: 'int x [100000]' previously declared here
int x[MAX_A];
^
0_0_19520014_11741.cpp:72:5: error: redefinition of 'int L'
int L,n,K;
^
0_0_19520014_11741.cpp:9:5: note: 'int L' previously declared here
int L,n,K;
^
0_0_19520014_11741.cpp:72:7: error: redefinition of 'int n'
int L,n,K;
^
0_0_19520014_11741.cpp:9:7: note: 'int n' previously declared here
int L,n,K;
^
0_0_19520014_11741.cpp:72:9: error: redefinition of 'int K'
int L,n,K;
^
0_0_19520014_11741.cpp:9:9: note: 'int K' previously declared here
int L,n,K;
^
0_0_19520014_11741.cpp:74:14: error: redefinition of 'll disl [100000]'
ll disl[MAX_A],disr[MAX_A];
^
0_0_19520014_11741.cpp:11:4: note: 'll disl [100000]' previously declared here
ll disl[MAX_A],disr[MAX_A];
^
0_0_19520014_11741.cpp:74:26: error: redefinition of 'll disr [100000]'
ll disl[MAX_A],disr[MAX_A];
^
0_0_19520014_11741.cpp:11:16: note: 'll disr [100000]' previously declared here
ll disl[MAX_A],disr[MAX_A];
^
0_0_19520014_11741.cpp:76:12: error: redefinition of 'std::vector<int> l'
vector<int>l,r;
^
0_0_19520014_11741.cpp:13:12: note: 'std::vector<int> l' previously declared here
vector<int>l,r;
^
0_0_19520014_11741.cpp:76:14: error: redefinition of 'std::vector<int> r'
vector<int>l,r;
^
0_0_19520014_11741.cpp:13:14: note: 'std::vector<int> r' previously declared here
vector<int>l,r;
^
0_0_19520014_11741.cpp: In function 'int main()':
0_0_19520014_11741.cpp:80:5: error: redefinition of 'int main()'
int main()
^
0_0_19520014_11741.cpp:17:5: note: 'int main()' previously defined here
int main()
^
0_0_19520014_11741.cpp: In function 'void solve()':
0_0_19520014_11741.cpp:111:6: error: redefinition of 'void solve()'
void solve()
^
0_0_19520014_11741.cpp:48:6: note: 'void solve()' previously defined here
void solve()
^
|