0_0_16482266_13536\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_16482266_13536\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_16482266_13536\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_16482266_13536\Main.java:5: 错误: 需要class, interface或enum
const int maxn = 111;
^
0_0_16482266_13536\Main.java:6: 错误: 需要class, interface或enum
int n,k;
^
0_0_16482266_13536\Main.java:7: 错误: 需要class, interface或enum
int map[maxn][maxn];
^
0_0_16482266_13536\Main.java:8: 错误: 需要class, interface或enum
int dp[maxn][maxn];
^
0_0_16482266_13536\Main.java:9: 错误: 需要class, interface或enum
int dir[4][2] = {{-1,0},{1,0},{0,-1},{0,1}};
^
0_0_16482266_13536\Main.java:10: 错误: 需要class, interface或enum
int DFS(int x,int y){
^
0_0_16482266_13536\Main.java:12: 错误: 需要class, interface或enum
if(!dp[x][y]){
^
0_0_16482266_13536\Main.java:13: 错误: 需要class, interface或enum
for(int i = 0; i < 4; i++) {
^
0_0_16482266_13536\Main.java:13: 错误: 需要class, interface或enum
for(int i = 0; i < 4; i++) {
^
0_0_16482266_13536\Main.java:14: 错误: 需要class, interface或enum
for(int j = 1; j <= k; j++){
^
0_0_16482266_13536\Main.java:14: 错误: 需要class, interface或enum
for(int j = 1; j <= k; j++){
^
0_0_16482266_13536\Main.java:16: 错误: 需要class, interface或enum
int yy = y + j * dir[i][1];
^
0_0_16482266_13536\Main.java:17: 错误: 需要class, interface或enum
if(xx >= 0 && xx < n && yy >=0 && yy < n && map[xx][yy] > map[x][y]){
^
0_0_16482266_13536\Main.java:19: 错误: 需要class, interface或enum
maxCheese = tmp > maxCheese ? tmp : maxCheese;
^
0_0_16482266_13536\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_16482266_13536\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_16482266_13536\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_16482266_13536\Main.java:31: 错误: 需要class, interface或enum
memset(map,0,sizeof(map));
^
0_0_16482266_13536\Main.java:32: 错误: 需要class, interface或enum
memset(dp,0,sizeof(dp));
^
0_0_16482266_13536\Main.java:33: 错误: 需要class, interface或enum
for(int i = 0; i < n; i++){
^
0_0_16482266_13536\Main.java:33: 错误: 需要class, interface或enum
for(int i = 0; i < n; i++){
^
0_0_16482266_13536\Main.java:33: 错误: 需要class, interface或enum
for(int i = 0; i < n; i++){
^
0_0_16482266_13536\Main.java:34: 错误: 需要class, interface或enum
for(int j = 0; j <n; j++) {
^
0_0_16482266_13536\Main.java:34: 错误: 需要class, interface或enum
for(int j = 0; j <n; j++) {
^
0_0_16482266_13536\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_16482266_13536\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_16482266_13536\Main.java:41: 错误: 需要class, interface或enum
}
^
30 个错误
|