Submission #409757

# Submission time Handle Problem Language Result Execution time Memory
409757 2021-05-21T13:14:30 Z Ahmadsm2005 Swapping Cities (APIO20_swap) C++14
Compilation error
0 ms 0 KB
#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;
}

Compilation message

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){
      |                             ^