teams.cpp: In member function 'void IT::gan(int, int, int, int, int)':
teams.cpp:27:31: warning: declaration of 'r' shadows a global declaration [-Wshadow]
27 | void gan(int id,int l,int r,int i,int val)
| ~~~~^
teams.cpp:12:30: note: shadowed declaration is here
12 | int n,cnt_l[N],cnt_r[N],l[N],r[N];
| ^
teams.cpp:27:25: warning: declaration of 'l' shadows a global declaration [-Wshadow]
27 | void gan(int id,int l,int r,int i,int val)
| ~~~~^
teams.cpp:12:25: note: shadowed declaration is here
12 | int n,cnt_l[N],cnt_r[N],l[N],r[N];
| ^
teams.cpp: In member function 'void IT::them(int, int, int, int, int, int)':
teams.cpp:43:32: warning: declaration of 'r' shadows a global declaration [-Wshadow]
43 | void them(int id,int l,int r,int u,int v,int val)
| ~~~~^
teams.cpp:12:30: note: shadowed declaration is here
12 | int n,cnt_l[N],cnt_r[N],l[N],r[N];
| ^
teams.cpp:43:26: warning: declaration of 'l' shadows a global declaration [-Wshadow]
43 | void them(int id,int l,int r,int u,int v,int val)
| ~~~~^
teams.cpp:12:25: note: shadowed declaration is here
12 | int n,cnt_l[N],cnt_r[N],l[N],r[N];
| ^
teams.cpp: In member function 'int IT::get(int, int, int, int, int)':
teams.cpp:60:30: warning: declaration of 'r' shadows a global declaration [-Wshadow]
60 | int get(int id,int l,int r,int u,int v)
| ~~~~^
teams.cpp:12:30: note: shadowed declaration is here
12 | int n,cnt_l[N],cnt_r[N],l[N],r[N];
| ^
teams.cpp:60:24: warning: declaration of 'l' shadows a global declaration [-Wshadow]
60 | int get(int id,int l,int r,int u,int v)
| ~~~~^
teams.cpp:12:25: note: shadowed declaration is here
12 | int n,cnt_l[N],cnt_r[N],l[N],r[N];
| ^
teams.cpp: In function 'int can(int, int*)':
teams.cpp:107:21: warning: declaration of 'i' shadows a previous local [-Wshadow]
107 | for(int i=0;i<m;i++)
| ^
teams.cpp:101:21: note: shadowed declaration is here
101 | for(int sum_r=0,i=0;i<m;i++)
| ^
teams.cpp:113:21: warning: declaration of 'i' shadows a previous local [-Wshadow]
113 | for(int i=0;i<m;i++)
| ^
teams.cpp:101:21: note: shadowed declaration is here
101 | for(int sum_r=0,i=0;i<m;i++)
| ^