# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
816244 | jophyyjh | 악어의 지하 도시 (IOI11_crocodile) | C++14 | 519 ms | 71392 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
/**
* Essentially a variant of Dijkstra's algorithm. The proof can be left as an exercise.
*
* Time Complexity: O(n + m * log(m)) (Dijkstra)
* Implementation 1 (Full solution)
*/
#include <bits/stdc++.h>
#include "crocodile.h"
typedef long long ll;
typedef std::vector<int> vec;
const ll INF = 0x3f3f3f3f3f3f3f;
struct edge_t {
int node, w;
};
typedef std::vector<edge_t> adj_list_t;
struct dist_info_t {
int node;
ll dist;
};
inline bool operator<(const dist_info_t& d1, const dist_info_t& d2) {
return d1.dist > d2.dist;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |