# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1030700 | ziewacz | Bank (IZhO14_bank) | C++17 | 273 ms | 80468 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 imie(x...) cerr << "[" #x "]: ", [](auto... $) {((cerr << $ << "; "), ...); }(x), cerr << '\n'
using namespace std;
typedef long long ll;
typedef long double ld;
const int MOD = 1000000007;
vector<vector<int>> gen(const vector<int>& a, int n) {
vector<vector<int>> podzbiory;
for (int maska = 0; maska < (1 << n); maska++) {
vector<int> podzbior;
for (int i = 0; i < n; i++) {
if (maska & (1 << i)) {
podzbior.push_back(a[i]);
}
}
sort(podzbior.begin(), podzbior.end());
podzbiory.push_back(podzbior);
}
return podzbiory;
}
int main() {
ios_base::sync_with_stdio(0); cin.tie(0);
int n, m;
cin >> n >> m;
map<int, int> goscie;
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... |