# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
995985 | 54skyxenon | 악어의 지하 도시 (IOI11_crocodile) | C++17 | 1535 ms | 127004 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
// https://oj.uz/problem/view/IOI11_crocodile
// #define LOCAL_TESTING 1
/** Needed for linking!!! */
#ifndef LOCAL_TESTING
#include "crocodile.h"
#endif
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define INF (ll)1e18
vector<map<int, int>> graph;
vector<bool> is_exit;
vector<set<int>> visited;
ll dijkstra() {
vector<vector<ll>> dist(graph.size(), {INF, INF});
priority_queue<pair<ll, ll>> pq;
for (ll i = 0; i < graph.size(); i++) {
if (is_exit[i]) {
pq.push({0, i});
dist[i][0] = dist[i][1] = 0;
}
}
컴파일 시 표준 에러 (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... |