bank.cpp: In function 'void solve()':
bank.cpp:46:72: warning: narrowing conversion of '(money.std::vector<long long int>::operator[](((std::vector<long long int>::size_type)i)) + ((__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type)dp.std::vector<Obj>::operator[](((std::vector<Obj>::size_type)mask)).Obj::soFar))' from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' [-Wnarrowing]
46 | dp[newMask] = {dp[mask].used, money[i] + dp[mask].soFar};
bank.cpp: In function 'int main()':
bank.cpp:56:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
56 | freopen("bank.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
bank.cpp:57:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
57 | freopen("bank.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~