실행 실패 (제출 코드 컴파일 에러)
Main.cpp:1:22: error: ‘pair’ was not declared in this scope 1 | void dijkstra(vector<pair<int, int>>* g, int* dist, int start) { | ^~~~ Main.cpp:1:22: error: ‘pair’ was not declared in this scope Main.cpp:1:22: error: ‘pair’ was not declared in this scope Main.cpp:1:22: error: ‘pair’ was not declared in this scope Main.cpp:1:6: error: variable or field ‘dijkstra’ declared void 1 | void dijkstra(vector<pair<int, int>>* g, int* dist, int start) { | ^~~~~~~~ Main.cpp:1:22: error: ‘pair’ was not declared in this scope 1 | void dijkstra(vector<pair<int, int>>* g, int* dist, int start) { | ^~~~ Main.cpp:1:22: error: ‘pair’ was not declared in this scope Main.cpp:1:22: error: ‘pair’ was not declared in this scope Main.cpp:1:22: error: ‘pair’ was not declared in this scope Main.cpp:1:22: error: ‘pair’ was not declared in this scope Main.cpp:1:15: error: ‘vector’ was not declared in this scope 1 | void dijkstra(vector<pair<int, int>>* g, int* dist, int start) { | ^~~~~~ Main.cpp:1:22: error: ‘pair’ was not declared in this scope 1 | void dijkstra(vector<pair<int, int>>* g, int* dist, int start) { | ^~~~ Main.cpp:1:27: error: expected primary-expression before ‘int’ 1 | void dijkstra(vector<pair<int, int>>* g, int* dist, int start) { | ^~~ Main.cpp:1:32: error: expected primary-expression before ‘int’ 1 | void dijkstra(vector<pair<int, int>>* g, int* dist, int start) { | ^~~ Main.cpp:1:42: error: expected primary-expression before ‘int’ 1 | void dijkstra(vector<pair<int, int>>* g, int* dist, int start) { | ^~~ Main.cpp:1:53: error: expected primary-expression before ‘int’ 1 | void dijkstra(vector<pair<int, int>>* g, int* dist, int start) { | ^~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.