# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
635886 | K4YAN | LIS (INOI20_lis) | C++17 | 47 ms | 556 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.
//Be Name Khoda
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define pll pair<ll, ll>
#define pllll pair<pll, pll>
#define all(x) x.begin(), x.end()
const ll mxn = 2e3 + 16;
ll n, t, q, w;
vector<ll> g, f, dp;
inline void input() {
cin >> n;
}
inline void add() {
f.clear(); dp.clear();
for(int i = 0; i < q; i++) {
f.push_back(g[i]);
} f.push_back(w);
for(int i = q; i < int(g.size()); i++) {
f.push_back(g[i]);
} g = f;
return;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |