Language: C++

#include<bits/stdc++.h>

using namespace std;

int main()
{
    while(1){
    int int dp[100][100] = {0},built[100][100] = {0};x,y,n,X,Y,dx[] = {-1,0},dy[] = {0,-1};
    dp[1][1] = 1;
    scanf("%d%d%d",&x,&y,&n);
    if(x == 0 && y == 0)break;
    for(int i = 1;i <= n;i++){
        scanf("%d%d",&X,&Y);
        built[X][Y] = -1;
    }
    for(int i = 1;i <= x;i++){
        for(int j = 1;j <= y;j++){
            for(int k = 0;k < 2;k++){
                    if(built[i][j] >= 0){
                        dp[i][j] += dp[i + dx[k]][j + dy[k]];
                }
            }
        }
    }

    printf("%d\n",dp[x][y]);
    }

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: two or more data types in declaration of 'dp'
    8 |     int int dp[100][100] = {0},built[100][100] = {0};x,y,n,X,Y,dx[] = {-1,0},dy[] = {0,-1};
      |     ^~~
a.cc:8:5: error: two or more data types in declaration of 'built'
a.cc:8:54: error: 'x' was not declared in this scope
    8 |     int int dp[100][100] = {0},built[100][100] = {0};x,y,n,X,Y,dx[] = {-1,0},dy[] = {0,-1};
      |                                                      ^
a.cc:8:56: error: 'y' was not declared in this scope; did you mean 'yn'?
    8 |     int int dp[100][100] = {0},built[100][100] = {0};x,y,n,X,Y,dx[] = {-1,0},dy[] = {0,-1};
      |                                                        ^
      |                                                        yn
a.cc:8:58: error: 'n' was not declared in this scope; did you mean 'yn'?
    8 |     int int dp[100][100] = {0},built[100][100] = {0};x,y,n,X,Y,dx[] = {-1,0},dy[] = {0,-1};
      |                                                          ^
      |                                                          yn
a.cc:8:60: error: 'X' was not declared in this scope
    8 |     int int dp[100][100] = {0},built[100][100] = {0};x,y,n,X,Y,dx[] = {-1,0},dy[] = {0,-1};
      |                                                            ^
a.cc:8:62: error: 'Y' was not declared in this scope
    8 |     int int dp[100][100] = {0},built[100][100] = {0};x,y,n,X,Y,dx[] = {-1,0},dy[] = {0,-1};
      |                                                              ^
a.cc:8:64: error: 'dx' was not declared in this scope
    8 |     int int dp[100][100] = {0},built[100][100] = {0};x,y,n,X,Y,dx[] = {-1,0},dy[] = {0,-1};
      |                                                                ^~
a.cc:8:67: error: expected primary-expression before ']' token
    8 |     int int dp[100][100] = {0},built[100][100] = {0};x,y,n,X,Y,dx[] = {-1,0},dy[] = {0,-1};
      |                                                                   ^
a.cc:8:78: error: 'dy' was not declared in this scope
    8 |     int int dp[100][100] = {0},built[100][100] = {0};x,y,n,X,Y,dx[] = {-1,0},dy[] = {0,-1};
      |                                                                              ^~
a.cc:8:81: error: expected primary-expression before ']' token
    8 |     int int dp[100][100] = {0},built[100][100] = {0};x,y,n,X,Y,dx[] = {-1,0},dy[] = {0,-1};
      |                                                                                 ^
a.cc:9:5: error: 'dp' was not declared in this scope; did you mean 'dup'?
    9 |     dp[1][1] = 1;
      |     ^~
      |     dup
a.cc:14:9: error: 'built' was not declared in this scope
   14 |         built[X][Y] = -1;
      |         ^~~~~
a.cc:19:24: error: 'built' was not declared in this scope
   19 |                     if(built[i][j] >= 0){
      |                        ^~~~~