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<stdio.h>
#include<algorithm>
#include<vector>
#define N_ 200010
#define INF 999999999
#define INFL 999999999999999999LL
using namespace std;
int n, w[N_], ed, par[N_], Path[N_], ord[N_], ord_c;
int Count[N_], top;
long long D[N_];
bool v[N_], res;
vector<int>E[N_];
long long Need[N_], Plus[N_];
struct B{
int a;
bool operator <(const B &p)const{
return D[a]>D[p.a];
}
}Heap[N_];
struct A{
long long a, b;
bool operator <(const A &p)const{
return a < p.a;
}
}TP[N_];
int main()
{
}
# | 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... |
# | 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... |