bitaro.cpp: In function 'void CALC(int)':
bitaro.cpp:18:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int j = 0; j < V[i].size(); j++) {
| ~~^~~~~~~~~~~~~
bitaro.cpp: At global scope:
bitaro.cpp:31:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
31 | main(){
| ^~~~
bitaro.cpp: In function 'int main()':
bitaro.cpp:53:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int j = 0; j < V[i].size(); j++) {
| ~~^~~~~~~~~~~~~
bitaro.cpp:73:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | for(int j = 0; j < v.size(); j++) f[v[j]] = 0;
| ~~^~~~~~~~~~
bitaro.cpp: In function 'void CALC(int)':
bitaro.cpp:3:11: warning: iteration 505 invokes undefined behavior [-Waggressive-loop-optimizations]
3 | #define s second
| ^
bitaro.cpp:27:53: note: in expansion of macro 's'
27 | for(int k = 0; k <= B; k++) f[X[i].d[k].s] = 0;
| ^
bitaro.cpp:27:30: note: within this loop
27 | for(int k = 0; k <= B; k++) f[X[i].d[k].s] = 0;
| ~~^~~~