# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1056512 | vjudge1 | Bank (IZhO14_bank) | C++17 | 2 ms | 2396 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
#define int long long
#define emb emplace_back
#define ii pair<int,int>
#define fi first
#define se second
using namespace std;
const int N=21+5,mod=1e9+7;
int n,M[N],ans,m,a[N],b[N];
bool k[(1<<21)+5];
ii f[(1<<21)+5];
bool on(int mask,int i){
return (mask>>1)&1;
}
int ex(int mask,int i){
return mask^(1<<i);
}
main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
freopen("bank.in","r",stdin);
freopen("bank.out","w",stdout);
cin >> n >> m;
for(int i=1;i<=n;++i)cin >> a[i];
for(int i=0;i<m;++i)cin >> b[i];
f[0]={1,0};
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |