# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
981112 | 0x34c | Robot (JOI21_ho_t4) | C++17 | 3018 ms | 65708 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>
#define ll long long
#define pii pair<int, int>
#define endl '\n'
#define int ll
using namespace std;
const int INF = 2e15;
struct nei {
int v, c, w;
};
int N, M;
vector<vector<nei>> graph;
vector<map<int, int>> color_cost;
class Compare {
public:
bool operator()(tuple<int, int, int, int> &a, tuple<int, int, int, int> &b) {
return get<0>(a) > get<0>(b);
}
};
signed main() {
ios_base::sync_with_stdio(0);
cin.tie(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... |