bank.cpp: In function 'bool solve(int, int)':
bank.cpp:13:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int w = 0 ; w < submask[v[i]].size() ; w++){
~~^~~~~~~~~~~~~~~~~~~~~~
bank.cpp: In function 'int main()':
bank.cpp:22:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n , &m);
~~~~~^~~~~~~~~~~~~~~~~~
bank.cpp:25:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , & v[i]);
~~~~~^~~~~~~~~~~~~~~
bank.cpp:29:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , & b[i]);
~~~~~^~~~~~~~~~~~~~~