Submission #409757

#TimeUsernameProblemLanguageResultExecution timeMemory
409757Ahmadsm2005Swapping Cities (APIO20_swap)C++14
Compilation error
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; }

Compilation message (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){
      |                             ^