# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
780508 | ymm | 수확 (JOI20_harvest) | C++17 | 5051 ms | 90732 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define Loop(x, l, r) for (ll x = (l); x < (r); ++x)
#define LoopR(x, l, r) for (ll x = (r)-1; x >= (l); --x)
typedef long long ll;
typedef std::pair<int,int> pii;
using namespace std;
const int N = 1024*3;
int nxt[N];
ll delta[N];
int first[N];
ll fdelta[N];
ll T[N][N];
bool inc[N][N], outc[N][N];
ll precs[N], cs[N];
int a[N], b[N];
int n, m;
ll l, c;
int main()
{
cin.tie(0) -> sync_with_stdio(false);
cin >> n >> m >> l >> c;
Loop (i,0,n)
cin >> a[i];
Loop (i,0,m)
cin >> b[i];
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |