Problem | bank |
---|---|
User | haydendoo |
Submission Time | 2023-01-12 22:55:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bank.cpp: In function ‘bool dp(long long int)’:
bank.cpp:237:12: error: reference to ‘left’ is ambiguous
237 | int curr=left[bitmask] + b[i];
| ^~~~
In file included from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from bank.cpp:1:
/usr/include/c++/9/bits/ios_base.h:1011:3: note: candidates are: ‘std::ios_base& std::left(std::ios_base&)’
1011 | left(ios_base& __base)
| ^~~~
bank.cpp:228:22: note: ‘long long int left [1048576]’
228 | int target[mxN]={0}, left[mxN]={0}, a[mxN], b[mxN];
| ^~~~
bank.cpp:245:4: error: reference to ‘left’ is ambiguous
245 | left[bitmask|bit]