# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1087599 | pqthangv | Commuter Pass (JOI18_commuter_pass) | C++11 | 40 ms | 23892 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
#define FOR(i, l, r) for(int i = (l); i <= (r); ++i)
#define FORD(i, r, l) for(int i = (r); i >= (l); --i)
#define REP(i, l, r) for(int i = (l); i < (r); ++i)
#define pb push_back
#define fi first
#define se second
#define el '\n'
#define ll long long
#define all(v) v.begin(), v.end()
#define compact(v) v.erase(unique(all(v)), end(v))
const int maxN = 1e5 + 5;
const int MOD = 1e9 + 7;
const ll INF = 1e18;
struct Edges {
int u, v;
ll cost;
Edges(int _u = 0, int _v = 0, ll _c = 0) : u(_u), v(_v), cost(_c) {}
} b[maxN];
int n, m, s, t, u, v;
vector< pair <int, ll> > adj[maxN];
vector < int > g[maxN];
ll dist[5][maxN], fu[maxN], fv[maxN], ans;
bool vis[maxN];
컴파일 시 표준 에러 (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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |