# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1013342 | vjudge1 | Bank (IZhO14_bank) | C++17 | 3 ms | 600 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 ll long long int
using namespace std;
#pragma GCC optimize("Ofast")
void YES()
{
cout<<"YES\n";
}
void NO()
{
cout<<"NO\n";
}
vector<ll> b;
ll n,m;
ll calc(ll mask)
{
ll answer = 0;
for (ll e = 0;e<m;e++)
{
if ((1 << e) & mask) answer += b[e];
}
return answer;
}
void ans()
{
cin>>n>>m;
vector<ll> a(n);
b = vector<ll>(m);
vector<bool> dp((1 << m));
vector<ll> pref(n+1);
# | 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... |