Language: C++

#include<iostream>
#include<string>
using namespace std;
// Debug Output Reference https://qiita.com/ysuzuki19/items/d89057d65284ba1a16ac
#define debug(var)  do{std::cout << #var << " : ";view(var);}while(0)
template<typename T> void view(T e){std::cout << e << std::endl;}
template<typename T> void view(const std::vector<T>& v){for(const auto& e : v){ std::cout << e << " "; } std::cout << std::endl;}
template<typename T> void view(const std::vector<std::vector<T> >& vv){ for(const auto& v : vv){ view(v); } }

bool solver(int lineLng,int sStart,int fStart,int sGoal,int fGoal,string line){
    bool result = true;



    return result;
}

int main(void){
    int N,A,B,C,D;
    bool answer=true;
    string S;
    cin >> N >> A >> B >> C >> D;
    cin >> S;
    answer = solver(N,A,B,C,D,S);
    if(answer){
        cout << "Yes" << endl;
    }
    else{
        cout << "No" << endl;
    }
}

Compiler output:
a.cc:7:43: error: 'vector' in namespace 'std' does not name a template type
    7 | template<typename T> void view(const std::vector<T>& v){for(const auto& e : v){ std::cout << e << " "; } std::cout << std::endl;}
      |                                           ^~~~~~
a.cc:2:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    1 | #include<iostream>
  +++ |+#include <vector>
    2 | #include<string>
a.cc:7:49: error: expected ',' or '...' before '<' token
    7 | template<typename T> void view(const std::vector<T>& v){for(const auto& e : v){ std::cout << e << " "; } std::cout << std::endl;}
      |                                                 ^
a.cc: In function 'void view(int)':
a.cc:7:77: error: 'v' was not declared in this scope
    7 | template<typename T> void view(const std::vector<T>& v){for(const auto& e : v){ std::cout << e << " "; } std::cout << std::endl;}
      |                                                                             ^
a.cc: At global scope:
a.cc:8:43: error: 'vector' in namespace 'std' does not name a template type
    8 | template<typename T> void view(const std::vector<std::vector<T> >& vv){ for(const auto& v : vv){ view(v); } }
      |                                           ^~~~~~
a.cc:8:38: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    8 | template<typename T> void view(const std::vector<std::vector<T> >& vv){ for(const auto& v : vv){ view(v); } }
      |                                      ^~~
a.cc:8:49: error: expected ',' or '...' before '<' token
    8 | template<typename T> void view(const std::vector<std::vector<T> >& vv){ for(const auto& v : vv){ view(v); } }
      |                                                 ^
a.cc:8:27: error: redefinition of 'template<class T> void view(int)'
    8 | template<typename T> void view(const std::vector<std::vector<T> >& vv){ for(const auto& v : vv){ view(v); } }
      |                           ^~~~
a.cc:7:27: note: 'template<class T> void view(int)' previously declared here
    7 | template<typename T> void view(const std::vector<T>& v){for(const auto& e : v){ std::cout << e << " "; } std::cout << std::endl;}
      |                           ^~~~