0_0_22226887_16591.cpp:13:12: error: declaration of 'dir' as multidimensional array must have bounds for all dimensions except the first
int dir[][]={{0,},{0,-},{,0},{-,0}},dp[N][N],mat[N][N],n;
^
0_0_22226887_16591.cpp:13:24: error: expected primary-expression before '}' token
int dir[][]={{0,},{0,-},{,0},{-,0}},dp[N][N],mat[N][N],n;
^
0_0_22226887_16591.cpp:13:27: error: expected primary-expression before ',' token
int dir[][]={{0,},{0,-},{,0},{-,0}},dp[N][N],mat[N][N],n;
^
0_0_22226887_16591.cpp:13:33: error: expected primary-expression before ',' token
int dir[][]={{0,},{0,-},{,0},{-,0}},dp[N][N],mat[N][N],n;
^
0_0_22226887_16591.cpp: In function 'void bfs()':
0_0_22226887_16591.cpp:25:24: error: expected primary-expression before ';' token
for(int i=0;i<;i++){
^
0_0_22226887_16591.cpp:26:25: error: 'dir' was not declared in this scope
int xx=b.x+dir[i][0];
^
0_0_22226887_16591.cpp:27:32: error: expected primary-expression before ']' token
int yy=b.y+dir[i][];
^
0_0_22226887_16591.cpp:28:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(xx>=&&xx<=n&&yy>=&&yy<=n){
^
0_0_22226887_16591.cpp:28:36: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(xx>=&&xx<=n&&yy>=&&yy<=n){
^
0_0_22226887_16591.cpp:28:23: error: label 'xx' used but not defined
if(xx>=&&xx<=n&&yy>=&&yy<=n){
^
0_0_22226887_16591.cpp:28:36: error: label 'yy' used but not defined
if(xx>=&&xx<=n&&yy>=&&yy<=n){
^
0_0_22226887_16591.cpp: In function 'long long int dfs(int, int)':
0_0_22226887_16591.cpp:43:21: error: return-statement with no value, in function returning 'long long int' [-fpermissive]
if(x==n&&y==n) return ;
^
0_0_22226887_16591.cpp:47:20: error: expected primary-expression before ';' token
for(int i=0;i<;i++){
^
0_0_22226887_16591.cpp:48:19: error: 'dir' was not declared in this scope
int xx=x+dir[i][0];
^
0_0_22226887_16591.cpp:49:26: error: expected primary-expression before ']' token
int yy=y+dir[i][];
^
0_0_22226887_16591.cpp:50:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(xx>=&&xx<=n&&yy>=&&yy<=n){
^
0_0_22226887_16591.cpp:50:32: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(xx>=&&xx<=n&&yy>=&&yy<=n){
^
0_0_22226887_16591.cpp:50:32: error: label 'yy' used but not defined
0_0_22226887_16591.cpp:50:19: error: label 'xx' used but not defined
if(xx>=&&xx<=n&&yy>=&&yy<=n){
^
0_0_22226887_16591.cpp: In function 'int main()':
0_0_22226887_16591.cpp:66:20: error: expected primary-expression before ';' token
for(int i=;i<=n;i++){
^
0_0_22226887_16591.cpp:67:24: error: expected primary-expression before ';' token
for(int j=;j<=n;j++){
^
0_0_22226887_16591.cpp:80:31: error: expected primary-expression before ',' token
printf("%I64d\n",dfs(,));
^
0_0_22226887_16591.cpp:80:32: error: expected primary-expression before ')' token
printf("%I64d\n",dfs(,));
^
|