divide.cpp: In function 'void solve()':
divide.cpp:33:32: error: expected ';' before 'mp'
33 | sort(v2.begin(),v2.end());8
| ^
| ;
34 | mp.clear();
| ~~
divide.cpp:33:31: warning: statement has no effect [-Wunused-value]
33 | sort(v2.begin(),v2.end());8
| ^
divide.cpp:35:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(i=0;i<v2.sz;i++){
| ^
divide.cpp:21:10: warning: unused variable 'm' [-Wunused-variable]
21 | ll n,m,k,i,j,l,r,i1,b,h,w,c=0,sum=0,ans=0,mx=-1,mn=inf;
| ^
divide.cpp:21:12: warning: unused variable 'k' [-Wunused-variable]
21 | ll n,m,k,i,j,l,r,i1,b,h,w,c=0,sum=0,ans=0,mx=-1,mn=inf;
| ^
divide.cpp:21:16: warning: unused variable 'j' [-Wunused-variable]
21 | ll n,m,k,i,j,l,r,i1,b,h,w,c=0,sum=0,ans=0,mx=-1,mn=inf;
| ^
divide.cpp:21:18: warning: unused variable 'l' [-Wunused-variable]
21 | ll n,m,k,i,j,l,r,i1,b,h,w,c=0,sum=0,ans=0,mx=-1,mn=inf;
| ^
divide.cpp:21:20: warning: unused variable 'r' [-Wunused-variable]
21 | ll n,m,k,i,j,l,r,i1,b,h,w,c=0,sum=0,ans=0,mx=-1,mn=inf;
| ^
divide.cpp:21:22: warning: unused variable 'i1' [-Wunused-variable]
21 | ll n,m,k,i,j,l,r,i1,b,h,w,c=0,sum=0,ans=0,mx=-1,mn=inf;
| ^~
divide.cpp:21:25: warning: unused variable 'b' [-Wunused-variable]
21 | ll n,m,k,i,j,l,r,i1,b,h,w,c=0,sum=0,ans=0,mx=-1,mn=inf;
| ^
divide.cpp:21:27: warning: unused variable 'h' [-Wunused-variable]
21 | ll n,m,k,i,j,l,r,i1,b,h,w,c=0,sum=0,ans=0,mx=-1,mn=inf;
| ^
divide.cpp:21:29: warning: unused variable 'w' [-Wunused-variable]
21 | ll n,m,k,i,j,l,r,i1,b,h,w,c=0,sum=0,ans=0,mx=-1,mn=inf;
| ^
divide.cpp:21:31: warning: unused variable 'c' [-Wunused-variable]
21 | ll n,m,k,i,j,l,r,i1,b,h,w,c=0,sum=0,ans=0,mx=-1,mn=inf;
| ^
divide.cpp:21:35: warning: unused variable 'sum' [-Wunused-variable]
21 | ll n,m,k,i,j,l,r,i1,b,h,w,c=0,sum=0,ans=0,mx=-1,mn=inf;
| ^~~
divide.cpp:21:41: warning: unused variable 'ans' [-Wunused-variable]
21 | ll n,m,k,i,j,l,r,i1,b,h,w,c=0,sum=0,ans=0,mx=-1,mn=inf;
| ^~~
divide.cpp: In function 'void fre(std::string)':
divide.cpp:11:27: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | void fre(string s){freopen((s+".in").c_str(),"r",stdin);freopen((s+".out").c_str(),"w",stdout);}
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
divide.cpp:11:64: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | void fre(string s){freopen((s+".in").c_str(),"r",stdin);freopen((s+".out").c_str(),"w",stdout);}
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~