# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
556909 | Itamar | Bootfall (IZhO17_bootfall) | C++14 | 45 ms | 122580 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 <map>
#include <iostream>
using namespace std;
#include <vector>
#include <queue>
#include <set>
#include <algorithm>
#define ll long long
#define vi vector<int>
#define vll vector<ll>
#define pi pair<int,int>
#define pll pair<ll,ll>
const int siz = 500;
int a[siz];
bool dp[siz * siz][siz];
int uni[siz * siz];
int main()
{
int n;
cin >> n;
for (int i = 0; i < n; i++) {
int ai;
cin >> ai;
a[i] = ai;
}
for (int i = 0; i < siz; i++)
dp[0][i] = 1;
for (int i = 1; i < siz * siz; i++) {
for (int j = 0; j < siz; j++) {
dp[i][j]++;
}
}
}
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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |