# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
22681 | Jongwon Party (#40) | Logistical Metropolis (KRIII5_LM) | C++14 | 46 ms | 1360 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 <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <vector>
using namespace std;
struct edg
{
int y, c;
};
struct edg2
{
int x, y, c;
bool operator <(const edg2 &a) const
{
return c < a.c;
}
};
std::vector<edg> arr[1001];
std::vector<edg2> sor;
int par[1001];
int rnk[1001];
int root(int x)
{
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |