# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
70016 | nvmdava | 악어의 지하 도시 (IOI11_crocodile) | C++17 | 1904 ms | 102652 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#include "crocodile.h"
using namespace std;
struct Chamber{
int cost, id, from;
Chamber(int from, int id, int cost){
this -> from = from;
this -> id = id;
this -> cost = cost;
}
bool operator<(const Chamber& rhs) const {
return cost > rhs.cost;
}
};
struct Path{
int to, cost;
Path(int to, int cost){
this -> to = to;
this -> cost = cost;
}
};
priority_queue<Chamber> pq;
vector<Path> p[100001];
int block[100001];
int ans[100001];
int travel_plan(int N, int M, int R[][2], int L[], int K, int P[]){
컴파일 시 표준 에러 (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... |