selling_rna.cpp:126:11: error: redefinition of 'const int maxn'
const int maxn = 1e5 + 20;
^~~~
selling_rna.cpp:7:11: note: 'const int maxn' previously defined here
const int maxn = 1e5 + 20;
^~~~
selling_rna.cpp:127:11: error: redefinition of 'const int maxm'
const int maxm = 2e6 + 20;
^~~~
selling_rna.cpp:8:11: note: 'const int maxm' previously defined here
const int maxm = 2e6 + 20;
^~~~
selling_rna.cpp:128:11: error: redefinition of 'const int maxs'
const int maxs = 5;
^~~~
selling_rna.cpp:9:11: note: 'const int maxs' previously defined here
const int maxs = 5;
^~~~
selling_rna.cpp:130:36: error: redefinition of 'std::vector<std::pair<int, int> > query [100020]'
vector<pair<int , int> > query[maxn];
^
selling_rna.cpp:11:26: note: 'std::vector<std::pair<int, int> > query [100020]' previously declared here
vector<pair<int , int> > query[maxn];
^~~~~
selling_rna.cpp:132:14: error: redefinition of 'std::__cxx11::string s [100020]'
string s[maxn] , a[maxn] , b[maxn];
^
selling_rna.cpp:13:8: note: 'std::__cxx11::string s [100020]' previously declared here
string s[maxn] , a[maxn] , b[maxn];
^
selling_rna.cpp:132:24: error: redefinition of 'std::__cxx11::string a [100020]'
string s[maxn] , a[maxn] , b[maxn];
^
selling_rna.cpp:13:18: note: 'std::__cxx11::string a [100020]' previously declared here
string s[maxn] , a[maxn] , b[maxn];
^
selling_rna.cpp:132:34: error: redefinition of 'std::__cxx11::string b [100020]'
string s[maxn] , a[maxn] , b[maxn];
^
selling_rna.cpp:13:28: note: 'std::__cxx11::string b [100020]' previously declared here
string s[maxn] , a[maxn] , b[maxn];
^
selling_rna.cpp:134:19: error: redefinition of 'int nxt [2000020][5]'
int nxt[maxm][maxs] , mx[maxm] , sz[maxm] , id , res[maxn];
^
selling_rna.cpp:15:5: note: 'int nxt [2000020][5]' previously declared here
int nxt[maxm][maxs] , mx[maxm] , sz[maxm] , id , res[maxn];
^~~
selling_rna.cpp:134:30: error: redefinition of 'int mx [2000020]'
int nxt[maxm][maxs] , mx[maxm] , sz[maxm] , id , res[maxn];
^
selling_rna.cpp:15:23: note: 'int mx [2000020]' previously declared here
int nxt[maxm][maxs] , mx[maxm] , sz[maxm] , id , res[maxn];
^~
selling_rna.cpp:134:41: error: redefinition of 'int sz [2000020]'
int nxt[maxm][maxs] , mx[maxm] , sz[maxm] , id , res[maxn];
^
selling_rna.cpp:15:34: note: 'int sz [2000020]' previously declared here
int nxt[maxm][maxs] , mx[maxm] , sz[maxm] , id , res[maxn];
^~
selling_rna.cpp:134:45: error: redefinition of 'int id'
int nxt[maxm][maxs] , mx[maxm] , sz[maxm] , id , res[maxn];
^~
selling_rna.cpp:15:45: note: 'int id' previously declared here
int nxt[maxm][maxs] , mx[maxm] , sz[maxm] , id , res[maxn];
^~
selling_rna.cpp:134:58: error: redefinition of 'int res [100020]'
int nxt[maxm][maxs] , mx[maxm] , sz[maxm] , id , res[maxn];
^
selling_rna.cpp:15:50: note: 'int res [100020]' previously declared here
int nxt[maxm][maxs] , mx[maxm] , sz[maxm] , id , res[maxn];
^~~
selling_rna.cpp: In function 'void add(int)':
selling_rna.cpp:136:6: error: redefinition of 'void add(int)'
void add(int ind)
^~~
selling_rna.cpp:17:6: note: 'void add(int)' previously defined here
void add(int ind)
^~~
selling_rna.cpp: In function 'std::pair<int, int> fn(std::__cxx11::string)':
selling_rna.cpp:153:17: error: redefinition of 'std::pair<int, int> fn(std::__cxx11::string)'
pair<int , int> fn(string s)
^~
selling_rna.cpp:34:17: note: 'std::pair<int, int> fn(std::__cxx11::string)' previously defined here
pair<int , int> fn(string s)
^~
selling_rna.cpp: In function 'void reval(std::__cxx11::string&)':
selling_rna.cpp:167:6: error: redefinition of 'void reval(std::__cxx11::string&)'
void reval(string &s)
^~~~~
selling_rna.cpp:48:6: note: 'void reval(std::__cxx11::string&)' previously defined here
void reval(string &s)
^~~~~
selling_rna.cpp: In function 'int main()':
selling_rna.cpp:182:5: error: redefinition of 'int main()'
int main()
^~~~
selling_rna.cpp:63:5: note: 'int main()' previously defined here
int main()
^~~~