# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
833579 | vjudge1 | Exam (eJOI20_exam) | C++17 | 64 ms | 9908 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>
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... |