Shortest Path Problem - Answer code
나의 글 중 < Shortest Path Problem > 글에 대한 정답 코드들이다. 혹시 풀어보고 싶은 사람이 있을까봐 분리해둔다.
//17071
#include <stdio.h>
#include <tuple>
#include <queue>
#include <cstring>
using namespace std;
int dist[500001][2] = {};
int main(void) {
int n = 0;
int