bridge.cpp:16:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
16 | main()
| ^
bridge.cpp: In function 'int main()':
bridge.cpp:26:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<st>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(i=0;i<=v.size();i++)
| ~^~~~~~~~~~
bridge.cpp:34:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(k=0;k<V.size()/2;k++)res-=V[k];
| ~^~~~~~~~~~~
bridge.cpp:35:27: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(k=V.size()/2;k<V.size();k++)res+=V[k];
| ~^~~~~~~~~
bridge.cpp:37:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<st>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for(j=i;j<v.size();j++)
| ~^~~~~~~~~
bridge.cpp:42:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for(k=0;k<V.size()/2;k++)res-=V[k];
| ~^~~~~~~~~~~
bridge.cpp:43:27: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(k=V.size()/2;k<V.size();k++)res+=V[k];
| ~^~~~~~~~~