0_0_14223209_12216.cpp:190:11: error: redefinition of 'const int MAXN'
const int MAXN = 100005 ;
^
0_0_14223209_12216.cpp:25:11: note: 'const int MAXN' previously defined here
const int MAXN = 100005 ;
^
0_0_14223209_12216.cpp:191:11: error: redefinition of 'const int mod'
const int mod = 998244353 ;
^
0_0_14223209_12216.cpp:26:11: note: 'const int mod' previously defined here
const int mod = 998244353 ;
^
0_0_14223209_12216.cpp:193:8: error: redefinition of 'struct Node'
struct Node {
^
0_0_14223209_12216.cpp:28:8: error: previous definition of 'struct Node'
struct Node {
^
0_0_14223209_12216.cpp:202:11: error: redefinition of 'int a [100005]'
int a[MAXN] ;
^
0_0_14223209_12216.cpp:37:5: note: 'int a [100005]' previously declared here
int a[MAXN] ;
^
0_0_14223209_12216.cpp:203:34: error: redefinition of 'std::vector<std::pair<int, int> > G [2]'
vector < pair < int , int > > G[2] ;
^
0_0_14223209_12216.cpp:38:31: note: 'std::vector<std::pair<int, int> > G [2]' previously declared here
vector < pair < int , int > > G[2] ;
^
0_0_14223209_12216.cpp:204:20: error: redefinition of 'Node node [2500125]'
Node node[MAXN * 25] ;
^
0_0_14223209_12216.cpp:39:6: note: 'Node node [2500125]' previously declared here
Node node[MAXN * 25] ;
^
0_0_14223209_12216.cpp:205:5: error: redefinition of 'int cnt'
int cnt ;
^
0_0_14223209_12216.cpp:40:5: note: 'int cnt' previously declared here
int cnt ;
^
0_0_14223209_12216.cpp:206:18: error: redefinition of 'int vis [400020]'
int vis[MAXN << 2] , Time ;
^
0_0_14223209_12216.cpp:41:5: note: 'int vis [400020]' previously declared here
int vis[MAXN << 2] , Time ;
^
0_0_14223209_12216.cpp:206:22: error: redefinition of 'int Time'
int vis[MAXN << 2] , Time ;
^
0_0_14223209_12216.cpp:41:22: note: 'int Time' previously declared here
int vis[MAXN << 2] , Time ;
^
0_0_14223209_12216.cpp:207:19: error: redefinition of 'int maxv [400020]'
int maxv[MAXN << 2] ;
^
0_0_14223209_12216.cpp:42:5: note: 'int maxv [400020]' previously declared here
int maxv[MAXN << 2] ;
^
0_0_14223209_12216.cpp:208:18: error: redefinition of 'int sum [400020]'
int sum[MAXN << 2] ;
^
0_0_14223209_12216.cpp:43:5: note: 'int sum [400020]' previously declared here
int sum[MAXN << 2] ;
^
0_0_14223209_12216.cpp:209:18: error: redefinition of 'int add [400020]'
int add[MAXN << 2] ;
^
0_0_14223209_12216.cpp:44:5: note: 'int add [400020]' previously declared here
int add[MAXN << 2] ;
^
0_0_14223209_12216.cpp:210:5: error: redefinition of 'int query_max'
int query_max , query_sum ;
^
0_0_14223209_12216.cpp:45:5: note: 'int query_max' previously declared here
int query_max , query_sum ;
^
0_0_14223209_12216.cpp:210:17: error: redefinition of 'int query_sum'
int query_max , query_sum ;
^
0_0_14223209_12216.cpp:45:17: note: 'int query_sum' previously declared here
int query_max , query_sum ;
^
0_0_14223209_12216.cpp:211:5: error: redefinition of 'int ans_max'
int ans_max , ans_sum ;
^
0_0_14223209_12216.cpp:46:5: note: 'int ans_max' previously declared here
int ans_max , ans_sum ;
^
0_0_14223209_12216.cpp:211:15: error: redefinition of 'int ans_sum'
int ans_max , ans_sum ;
^
0_0_14223209_12216.cpp:46:15: note: 'int ans_sum' previously declared here
int ans_max , ans_sum ;
^
0_0_14223209_12216.cpp:212:5: error: redefinition of 'int n'
int n ;
^
0_0_14223209_12216.cpp:47:5: note: 'int n' previously declared here
int n ;
^
0_0_14223209_12216.cpp: In function 'int gcd(int, int)':
0_0_14223209_12216.cpp:214:5: error: redefinition of 'int gcd(int, int)'
int gcd ( int a , int b ) {
^
0_0_14223209_12216.cpp:49:5: note: 'int gcd(int, int)' previously defined here
int gcd ( int a , int b ) {
^
0_0_14223209_12216.cpp: In function 'void check(int)':
0_0_14223209_12216.cpp:218:6: error: redefinition of 'void check(int)'
void check ( int o ) {
^
0_0_14223209_12216.cpp:53:6: note: 'void check(int)' previously defined here
void check ( int o ) {
^
0_0_14223209_12216.cpp: In function 'void upd(int, int, int, int)':
0_0_14223209_12216.cpp:225:6: error: redefinition of 'void upd(int, int, int, int)'
void upd ( int Max , int Add , int o , int len ) {
^
0_0_14223209_12216.cpp:60:6: note: 'void upd(int, int, int, int)' previously defined here
void upd ( int Max , int Add , int o , int len ) {
^
0_0_14223209_12216.cpp: In function 'void pushdown(int, int, int)':
0_0_14223209_12216.cpp:237:6: error: redefinition of 'void pushdown(int, int, int)'
void pushdown ( int o , int l , int r ) {
^
0_0_14223209_12216.cpp:72:6: note: 'void pushdown(int, int, int)' previously defined here
void pushdown ( int o , int l , int r ) {
^
0_0_14223209_12216.cpp: In function 'void pushup(int)':
0_0_14223209_12216.cpp:246:6: error: redefinition of 'void pushup(int)'
void pushup ( int o ) {
^
0_0_14223209_12216.cpp:81:6: note: 'void pushup(int)' previously defined here
void pushup ( int o ) {
^
0_0_14223209_12216.cpp: In function 'void update(int, int, int, int, int, int, int)':
0_0_14223209_12216.cpp:261:6: error: redefinition of 'void update(int, int, int, int, int, int, int)'
void update ( int L , int R , int x , int v , int o , int l , int r ) {
^
0_0_14223209_12216.cpp:96:6: note: 'void update(int, int, int, int, int, int, int)' previously defined here
void update ( int L , int R , int x , int v , int o , int l , int r ) {
^
0_0_14223209_12216.cpp:264:3: error: 'lazy' was not declared in this scope
lazy[o] = 1 ;
^
0_0_14223209_12216.cpp: In function 'void query(int, int, int, int, int)':
0_0_14223209_12216.cpp:275:6: error: redefinition of 'void query(int, int, int, int, int)'
void query ( int L , int R , int o , int l , int r ) {
^
0_0_14223209_12216.cpp:109:6: note: 'void query(int, int, int, int, int)' previously defined here
void query ( int L , int R , int o , int l , int r ) {
^
0_0_14223209_12216.cpp: In function 'void solve()':
0_0_14223209_12216.cpp:291:6: error: redefinition of 'void solve()'
void solve () {
^
0_0_14223209_12216.cpp:125:6: note: 'void solve()' previously defined here
void solve () {
^
0_0_14223209_12216.cpp: In function 'int main()':
0_0_14223209_12216.cpp:342:5: error: redefinition of 'int main()'
int main () {
^
0_0_14223209_12216.cpp:176:5: note: 'int main()' previously defined here
int main () {
^
|