# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
798930 | armyantking | 개구리 (KOI13_frog) | C++17 | 34 ms | 5728 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.
// 개구리 // sweeping
#include <bits/stdc++.h>
#define int long long
using namespace std;
using pii = pair<int, int>;
vector<int> parent(100001);
struct leep {
int x, y, num;
};
// sort: x에 대해 오름차순
bool cmp(leep a, leep b) {
if (a.x == b.x) {
return a.y < b.y;
}
return a.x < b.x;
}
// set: y에 대해 오름차순
struct y_order {
bool operator() (const leep& a, const leep& b) const {
if (a.y == b.y) {
return a.x < b.x;
}
return a.y < b.y;
}
};
# | 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... |