0_0_36039855_3820.cpp:132:11: error: redefinition of 'const int maxn'
const int maxn = 2.7e4 + 50;
^
0_0_36039855_3820.cpp:3:11: note: 'const int maxn' previously defined here
const int maxn = 2.7e4 + 50;
^
0_0_36039855_3820.cpp:133:11: error: redefinition of 'int a [27050]'
int a[maxn];
^
0_0_36039855_3820.cpp:4:5: note: 'int a [27050]' previously declared here
int a[maxn];
^
0_0_36039855_3820.cpp:134:13: error: redefinition of 'int ind [27050]'
int ind[maxn];
^
0_0_36039855_3820.cpp:5:5: note: 'int ind [27050]' previously declared here
int ind[maxn];
^
0_0_36039855_3820.cpp:135:5: error: redefinition of 'int len'
int len, k, n, sq;
^
0_0_36039855_3820.cpp:6:5: note: 'int len' previously declared here
int len, k, n, sq;
^
0_0_36039855_3820.cpp:135:10: error: redefinition of 'int k'
int len, k, n, sq;
^
0_0_36039855_3820.cpp:6:10: note: 'int k' previously declared here
int len, k, n, sq;
^
0_0_36039855_3820.cpp:135:13: error: redefinition of 'int n'
int len, k, n, sq;
^
0_0_36039855_3820.cpp:6:13: note: 'int n' previously declared here
int len, k, n, sq;
^
0_0_36039855_3820.cpp:135:16: error: redefinition of 'int sq'
int len, k, n, sq;
^
0_0_36039855_3820.cpp:6:16: note: 'int sq' previously declared here
int len, k, n, sq;
^
0_0_36039855_3820.cpp: In function 'void qr(int&)':
0_0_36039855_3820.cpp:139:13: error: redefinition of 'void qr(int&)'
inline void qr(int & n)
^
0_0_36039855_3820.cpp:10:13: note: 'void qr(int&)' previously defined here
inline void qr(int & n)
^
0_0_36039855_3820.cpp: At global scope:
0_0_36039855_3820.cpp:159:8: error: redefinition of 'struct zy'
struct zy {
^
0_0_36039855_3820.cpp:30:8: error: previous definition of 'struct zy'
struct zy {
^
0_0_36039855_3820.cpp:169:14: error: redefinition of 'zy query [27050]'
zy query[maxn];
^
0_0_36039855_3820.cpp:40:4: note: 'zy query [27050]' previously declared here
zy query[maxn];
^
0_0_36039855_3820.cpp: In function 'int getid(const int&)':
0_0_36039855_3820.cpp:172:12: error: redefinition of 'int getid(const int&)'
inline int getid(const int& val) {
^
0_0_36039855_3820.cpp:43:12: note: 'int getid(const int&)' previously defined here
inline int getid(const int& val) {
^
0_0_36039855_3820.cpp: At global scope:
0_0_36039855_3820.cpp:175:11: error: redefinition of 'int c [27050]'
int c[maxn];
^
0_0_36039855_3820.cpp:46:5: note: 'int c [27050]' previously declared here
int c[maxn];
^
0_0_36039855_3820.cpp: In function 'int lowbit(int)':
0_0_36039855_3820.cpp:176:5: error: redefinition of 'int lowbit(int)'
int lowbit(int x) {
^
0_0_36039855_3820.cpp:47:5: note: 'int lowbit(int)' previously defined here
int lowbit(int x) {
^
0_0_36039855_3820.cpp: In function 'void updata(int, int)':
0_0_36039855_3820.cpp:179:6: error: redefinition of 'void updata(int, int)'
void updata(int i, int k) { //在i位置加上k
^
0_0_36039855_3820.cpp:50:6: note: 'void updata(int, int)' previously defined here
void updata(int i, int k) { //在i位置加上k
^
0_0_36039855_3820.cpp: In function 'int getsum(int)':
0_0_36039855_3820.cpp:185:5: error: redefinition of 'int getsum(int)'
int getsum(int i) { //求A[1 - i]的和
^
0_0_36039855_3820.cpp:56:5: note: 'int getsum(int)' previously defined here
int getsum(int i) { //求A[1 - i]的和
^
0_0_36039855_3820.cpp: In function 'int gets(int)':
0_0_36039855_3820.cpp:193:5: error: redefinition of 'int gets(int)'
int gets(int i)
^
0_0_36039855_3820.cpp:64:5: note: 'int gets(int)' previously defined here
int gets(int i)
^
0_0_36039855_3820.cpp: At global scope:
0_0_36039855_3820.cpp:206:13: error: redefinition of 'int ans [27050]'
int ans[maxn];
^
0_0_36039855_3820.cpp:77:5: note: 'int ans [27050]' previously declared here
int ans[maxn];
^
0_0_36039855_3820.cpp: In function 'int main()':
0_0_36039855_3820.cpp:207:8: error: redefinition of 'int main()'
signed main()
^
0_0_36039855_3820.cpp:78:8: note: 'int main()' previously defined here
signed main()
^
|