# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
876902 | andrei_iorgulescu | Toll (BOI17_toll) | C++14 | 439 ms | 12216 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
int inf = 1e9;
int k,n,m,q,t;
vector<pair<int,int>>g[50005],gr[50005];
int ans[10005];
int dist[50005];
struct ura
{
int x,y,idx;
};
void dijkstral(int start,int leftbound)
{
priority_queue<pair<int,int>>pq;
pq.push({0,start});
while (!pq.empty())
{
int timp = -pq.top().first,nod = pq.top().second;
pq.pop();
if (dist[nod] == inf)
{
dist[nod] = timp;
for (auto vecin : gr[nod])
{
if (vecin.first >= leftbound)
# | 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... |