F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_38259928_5462\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_38259928_5462\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_38259928_5462\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_38259928_5462\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_38259928_5462\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_38259928_5462\Main.java:5: 错误: 非法字符: '#'
#include <cmath>
^
0_0_38259928_5462\Main.java:6: 错误: 非法字符: '#'
#include <queue>
^
0_0_38259928_5462\Main.java:10: 错误: 需要class, interface或enum
const int N = 15;
^
0_0_38259928_5462\Main.java:11: 错误: 需要class, interface或enum
char map[N+9][N+9];
^
0_0_38259928_5462\Main.java:12: 错误: 需要class, interface或enum
int dx[]={0,0,-1,1,-1,1,-1,1};
^
0_0_38259928_5462\Main.java:13: 错误: 需要class, interface或enum
int dy[]={-1,1,0,0,-1,1,1,-1};
^
0_0_38259928_5462\Main.java:14: 错误: 需要class, interface或enum
bool ok(int x,int y)
^
0_0_38259928_5462\Main.java:17: 错误: 需要class, interface或enum
    if(y<0||y>=N) return false;
    ^
0_0_38259928_5462\Main.java:18: 错误: 需要class, interface或enum
    return true;
    ^
0_0_38259928_5462\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_38259928_5462\Main.java:23: 错误: 需要class, interface或enum
    while(1)
    ^
0_0_38259928_5462\Main.java:26: 错误: 需要class, interface或enum
        if(!ok(x,y)) return ans;
        ^
0_0_38259928_5462\Main.java:27: 错误: 需要class, interface或enum
        if(map[x][y]==K) ans++;
        ^
0_0_38259928_5462\Main.java:28: 错误: 需要class, interface或enum
        else return ans;
        ^
0_0_38259928_5462\Main.java:29: 错误: 需要class, interface或enum
    }
    ^
0_0_38259928_5462\Main.java:33: 错误: 需要class, interface或enum
    for(int i=0;i<4;i++)
                ^
0_0_38259928_5462\Main.java:33: 错误: 需要class, interface或enum
    for(int i=0;i<4;i++)
                    ^
0_0_38259928_5462\Main.java:36: 错误: 需要class, interface或enum
    }
    ^
0_0_38259928_5462\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_38259928_5462\Main.java:42: 错误: 需要class, interface或enum
    for(int i=0;i<N;i++)
                ^
0_0_38259928_5462\Main.java:42: 错误: 需要class, interface或enum
    for(int i=0;i<N;i++)
                    ^
0_0_38259928_5462\Main.java:43: 错误: 需要class, interface或enum
    for(int j=0;j<N;j++)
                ^
0_0_38259928_5462\Main.java:43: 错误: 需要class, interface或enum
    for(int j=0;j<N;j++)
                    ^
0_0_38259928_5462\Main.java:49: 错误: 需要class, interface或enum
            return ;
            ^
0_0_38259928_5462\Main.java:50: 错误: 需要class, interface或enum
        }
        ^
0_0_38259928_5462\Main.java:52: 错误: 需要class, interface或enum
    printf("NO\n");return ;
                   ^
0_0_38259928_5462\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_38259928_5462\Main.java:57: 错误: 需要class, interface或enum
    int cas;
    ^
0_0_38259928_5462\Main.java:58: 错误: 需要class, interface或enum
    scanf("%d",&cas);
    ^
0_0_38259928_5462\Main.java:59: 错误: 需要class, interface或enum
    while(cas--)
    ^
0_0_38259928_5462\Main.java:62: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
        ^
0_0_38259928_5462\Main.java:62: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
                    ^
0_0_38259928_5462\Main.java:62: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
                        ^
0_0_38259928_5462\Main.java:65: 错误: 需要class, interface或enum
            for(int j=0;j<N;j++)
            ^
0_0_38259928_5462\Main.java:65: 错误: 需要class, interface或enum
            for(int j=0;j<N;j++)
                        ^
0_0_38259928_5462\Main.java:65: 错误: 需要class, interface或enum
            for(int j=0;j<N;j++)
                            ^
0_0_38259928_5462\Main.java:67: 错误: 需要class, interface或enum
            else if(map[i][j]=='W') w++;
            ^
0_0_38259928_5462\Main.java:68: 错误: 需要class, interface或enum
        }
        ^
0_0_38259928_5462\Main.java:70: 错误: 需要class, interface或enum
        else solve('W');
        ^
0_0_38259928_5462\Main.java:71: 错误: 需要class, interface或enum
    }
    ^
0_0_38259928_5462\Main.java:73: 错误: 需要class, interface或enum
}
^
46 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 19:19:35, Gzip enabled