0_0_32482701_31966\Main.java:1: 错误: 非法字符: '#'
#include "bits/stdc++.h"
^
0_0_32482701_31966\Main.java:1: 错误: 需要class, interface或enum
#include "bits/stdc++.h"
^
0_0_32482701_31966\Main.java:5: 错误: 需要class, interface或enum
const int N = 35;
^
0_0_32482701_31966\Main.java:7: 错误: 需要class, interface或enum
char grid[N][N];
^
0_0_32482701_31966\Main.java:8: 错误: 需要class, interface或enum
int64_t dp[N][N];
^
0_0_32482701_31966\Main.java:9: 错误: 需要class, interface或enum
int n;
^
0_0_32482701_31966\Main.java:10: 错误: 需要class, interface或enum
int dx[] = {1, 0};
^
0_0_32482701_31966\Main.java:11: 错误: 需要class, interface或enum
int dy[] = {0, 1};
^
0_0_32482701_31966\Main.java:13: 错误: 需要class, interface或enum
bool legal(int x, int y){
^
0_0_32482701_31966\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_32482701_31966\Main.java:20: 错误: 需要class, interface或enum
for(int i=0; i<2; ++i){
^
0_0_32482701_31966\Main.java:20: 错误: 需要class, interface或enum
for(int i=0; i<2; ++i){
^
0_0_32482701_31966\Main.java:20: 错误: 需要class, interface或enum
for(int i=0; i<2; ++i){
^
0_0_32482701_31966\Main.java:22: 错误: 需要class, interface或enum
if(step){
^
0_0_32482701_31966\Main.java:24: 错误: 需要class, interface或enum
int new_y = y + dy[i]*step;
^
0_0_32482701_31966\Main.java:25: 错误: 需要class, interface或enum
if(legal(new_x, new_y)){
^
0_0_32482701_31966\Main.java:28: 错误: 需要class, interface或enum
dp[x][y] += dp[new_x][new_y];
^
0_0_32482701_31966\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_32482701_31966\Main.java:38: 错误: 需要class, interface或enum
if(n==-1) return 0;
^
0_0_32482701_31966\Main.java:39: 错误: 需要class, interface或enum
for(int i=0; i<n; ++i){
^
0_0_32482701_31966\Main.java:39: 错误: 需要class, interface或enum
for(int i=0; i<n; ++i){
^
0_0_32482701_31966\Main.java:39: 错误: 需要class, interface或enum
for(int i=0; i<n; ++i){
^
0_0_32482701_31966\Main.java:40: 错误: 需要class, interface或enum
for(int j=0; j<n; ++j)
^
0_0_32482701_31966\Main.java:40: 错误: 需要class, interface或enum
for(int j=0; j<n; ++j)
^
0_0_32482701_31966\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_32482701_31966\Main.java:44: 错误: 需要class, interface或enum
dp[n-1][n-1] = 1;
^
0_0_32482701_31966\Main.java:45: 错误: 需要class, interface或enum
dfs(0, 0);
^
0_0_32482701_31966\Main.java:46: 错误: 需要class, interface或enum
cout << dp[0][0] << endl;
^
0_0_32482701_31966\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_32482701_31966\Main.java:49: 错误: 需要class, interface或enum
}
^
30 个错误
|