# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
833579 | vjudge1 | Exam (eJOI20_exam) | C++17 | 64 ms | 9908 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
#define ll long long
const int N = 100005;
int par[N], sz[N];
bool vis[N];
int n, cnt = 0, input, x;
bool s1 = false, s2, s3, s4 = true;
vector<int> h;
vector<int> t;
int findpar(int a){
if(a == par[a]) return a;
return par[a] = findpar(par[a]);
}
void merge(int a, int b){
a = findpar(a);
b = findpar(b);
if(a == b) return;
par[b] = a;
sz[a] += sz[b];
}
void dfs(int a){
vis[a] = true;
if(a+1 < n){
if(a+1 < n && h[a+1] <= t[0]){
# | 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... |