제출 #409757

#제출 시각아이디문제언어결과실행 시간메모리
409757Ahmadsm2005자매 도시 (APIO20_swap)C++14
컴파일 에러
0 ms0 KiB
#include "swap.h" #include<bits/stdc++.h> using namespace std; void init(int N,int M,vector<int U,vector<int V,vector<int>W){ } int getMinimumFuelCapacity(int X, int Y){ return -1; }

컴파일 시 표준 에러 (stderr) 메시지

swap.cpp:4:60: error: template argument 1 is invalid
    4 | void init(int N,int M,vector<int U,vector<int V,vector<int>W){
      |                                                            ^
swap.cpp:4:60: error: template argument 2 is invalid
swap.cpp:4:60: error: template argument 1 is invalid
swap.cpp:4:60: error: template argument 2 is invalid
swap.cpp:4:60: error: template argument 1 is invalid
swap.cpp:4:60: error: template argument 2 is invalid
swap.cpp:4:23: error: 'vector' is not a type
    4 | void init(int N,int M,vector<int U,vector<int V,vector<int>W){
      |                       ^~~~~~
swap.cpp:4:29: error: expected ',' or '...' before '<' token
    4 | void init(int N,int M,vector<int U,vector<int V,vector<int>W){
      |                             ^