bank.cpp: In function 'bool solve()':
bank.cpp:26:9: warning: unused variable 'to' [-Wunused-variable]
26 | int to = __builtin_ctz(m);
| ^~
bank.cpp: In function 'int main()':
bank.cpp:38:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | scanf("%d %d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~~
bank.cpp:40:34: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
40 | for(int i = 0; i < n; i++) scanf("%d", a + i);
| ~~~~~^~~~~~~~~~~~~
bank.cpp:41:34: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
41 | for(int i = 0; i < m; i++) scanf("%d", b + i);
| ~~~~~^~~~~~~~~~~~~