bridge.cpp: In function 'void solve()':
bridge.cpp:50:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | for(i=0;i<v2.sz;i++){
| ^
bridge.cpp:57:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for(i=0;i<v2.sz;i++){
| ^
bridge.cpp:62:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for(i=0;i<v2.sz;i++){
| ^
bridge.cpp:83:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | if(i==v2.sz-1){
| ~^~~~~~~~~
bridge.cpp:30:10: warning: unused variable 'j' [-Wunused-variable]
30 | ll i,j,q,sum=0,ans=inf,mn=inf,m;
| ^
bridge.cpp:30:12: warning: unused variable 'q' [-Wunused-variable]
30 | ll i,j,q,sum=0,ans=inf,mn=inf,m;
| ^
bridge.cpp:30:35: warning: unused variable 'm' [-Wunused-variable]
30 | ll i,j,q,sum=0,ans=inf,mn=inf,m;
| ^
bridge.cpp:31:12: warning: unused variable 'c' [-Wunused-variable]
31 | ll a,b,c,t,k;
| ^
bridge.cpp:31:14: warning: unused variable 't' [-Wunused-variable]
31 | ll a,b,c,t,k;
| ^
bridge.cpp: In function 'void fre(std::string)':
bridge.cpp:16:27: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | void fre(string s){freopen((s+".in").c_str(),"r",stdin);freopen((s+".out").c_str(),"w",stdout);}
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bridge.cpp:16:64: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | void fre(string s){freopen((s+".in").c_str(),"r",stdin);freopen((s+".out").c_str(),"w",stdout);}
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~