# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
38112 | shash42 | Ferries (NOI13_ferries) | C++11 | 803 ms | 28872 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<iostream>
#include<algorithm>
#include<vector>
#include<queue>
#define pii pair<int, int>
#define pb push_back
#define mp make_pair
using namespace std;
struct indij
{
int dest, w, e;
};
struct nsort
{
bool operator()(const indij &a, const indij &b)
{
if(a.w==b.w) return a.dest>b.dest;
return a.w>b.w;
}
};
struct desc
{
bool operator()(const int &a, const int &b)
{
return a>b;
}
};
priority_queue<indij, vector<indij>, nsort> pq;
Compilation message (stderr)
# | 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... |