Language: C++

#include <bits/stdc++.h>
#define vin vector<long long>
#define vch vector<char>
#define vst vector<string>
#define vbo vector<bool>
#define vvin vector<vel>
#define vvch vector<vech>
#define int long long
#define pin pair<int,int>
#define ppin pair<int,pin>
#define mkp make_pair
#define rep(i,n) for(int i=0;i<n;i++)
#define maxel(vec, j) *max_element(vec.begin(), vec.begin()+j)

using namespace std;
void mmin(int &a, int b) { a = min(a, b); }
void mmax(int &a, int b) { a = max(a, b); }
int vsum(vin v){ return accumulate(v.begin(), v.end(), 0); }
int msum(vvin v){
    int ans = 0;
    rep(i, v.size()){
        ans += vsum(v[i]);
    }
    return ans;
}
const int MOD = 1000000007;
signed main() {
    int N, M;
    cin >> N >> M;
    vector<bool> ok(n+1, true);
    rep(i, M)
        int a;
        cin >> a;
        ok[a] = false;
    }
 
    vin dp(n+1, 0);
    dp[0] = 1;
    rep(i, N+1){
        // 1つ下から
        if(ok[i-1]){
            dp[i] += dp[i-1];
            dp[i] %= MOD;
        }
        // 2つ下から
        if(i > 1 && ok[i-2]){
            dp[i] += dp[i-2];
            dp[i] %= MOD;
        }
    }
    cout << dp[N] << endl;
 
    return 0;
}
/*
 *
 *
6 1
3
 */


Compiler output:
a.cc:6:21: error: 'vel' was not declared in this scope
    6 | #define vvin vector<vel>
      |                     ^~~
a.cc:19:10: note: in expansion of macro 'vvin'
   19 | int msum(vvin v){
      |          ^~~~
a.cc:6:24: error: template argument 1 is invalid
    6 | #define vvin vector<vel>
      |                        ^
a.cc:19:10: note: in expansion of macro 'vvin'
   19 | int msum(vvin v){
      |          ^~~~
a.cc:6:24: error: template argument 2 is invalid
    6 | #define vvin vector<vel>
      |                        ^
a.cc:19:10: note: in expansion of macro 'vvin'
   19 | int msum(vvin v){
      |          ^~~~
a.cc: In function 'long long int msum(int)':
a.cc:21:14: error: request for member 'size' in 'v', which is of non-class type 'int'
   21 |     rep(i, v.size()){
      |              ^~~~
a.cc:12:32: note: in definition of macro 'rep'
   12 | #define rep(i,n) for(int i=0;i<n;i++)
      |                                ^
a.cc:22:22: error: invalid types 'int[long long int]' for array subscript
   22 |         ans += vsum(v[i]);
      |                      ^
a.cc: In function 'int main()':
a.cc:30:21: error: 'n' was not declared in this scope
   30 |     vector<bool> ok(n+1, true);
      |                     ^
a.cc:33:16: error: 'a' was not declared in this scope
   33 |         cin >> a;
      |                ^
a.cc: At global scope:
a.cc:37:12: error: 'n' was not declared in this scope; did you mean 'yn'?
   37 |     vin dp(n+1, 0);
      |            ^
      |            yn
a.cc:38:5: error: 'dp' does not name a type
   38 |     dp[0] = 1;
      |     ^~
a.cc:12:18: error: expected unqualified-id before 'for'
   12 | #define rep(i,n) for(int i=0;i<n;i++)
      |                  ^~~
a.cc:39:5: note: in expansion of macro 'rep'
   39 |     rep(i, N+1){
      |     ^~~
a.cc:39:9: error: 'i' does not name a type
   39 |     rep(i, N+1){
      |         ^
a.cc:12:30: note: in definition of macro 'rep'
   12 | #define rep(i,n) for(int i=0;i<n;i++)
      |                              ^
a.cc:39:9: error: 'i' does not name a type
   39 |     rep(i, N+1){
      |         ^
a.cc:12:34: note: in definition of macro 'rep'
   12 | #define rep(i,n) for(int i=0;i<n;i++)
      |                                  ^
a.cc:51:5: error: 'cout' does not name a type
   51 |     cout << dp[N] << endl;
      |     ^~~~
a.cc:53:5: error: expected unqualified-id before 'return'
   53 |     return 0;
      |     ^~~~~~
a.cc:54:1: error: expected declaration before '}' token
   54 | }
      | ^