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_24678465_23838\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_24678465_23838\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_24678465_23838\Main.java:2: 错误: 非法字符: '#'
#include <stdlib.h>
^
0_0_24678465_23838\Main.java:3: 错误: 非法字符: '#'
#include <malloc.h>
^
0_0_24678465_23838\Main.java:4: 错误: 非法字符: '#'
#include <time.h>
^
0_0_24678465_23838\Main.java:5: 错误: 非法字符: '#'
#include <math.h>
^
0_0_24678465_23838\Main.java:6: 错误: 非法字符: '#'
#include <iostream>
^
0_0_24678465_23838\Main.java:7: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_24678465_23838\Main.java:8: 错误: 非法字符: '#'
#include <string>
^
0_0_24678465_23838\Main.java:9: 错误: 非法字符: '#'
#include <string.h>
^
0_0_24678465_23838\Main.java:11: 错误: 非法字符: '#'
#define N 20
^
0_0_24678465_23838\Main.java:11: 错误: 需要class, interface或enum
#define N 20
        ^
0_0_24678465_23838\Main.java:13: 错误: 需要class, interface或enum
char s[N];
^
0_0_24678465_23838\Main.java:14: 错误: 需要class, interface或enum
int a[N],b[N];
^
0_0_24678465_23838\Main.java:15: 错误: 需要class, interface或enum
int n;
^
0_0_24678465_23838\Main.java:16: 错误: 需要class, interface或enum
int dir[4][2] = {1,0,-1,0,0,1,0,-1};
^
0_0_24678465_23838\Main.java:18: 错误: 需要class, interface或enum
bool check(int x,int y)
^
0_0_24678465_23838\Main.java:21: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++) {
    ^
0_0_24678465_23838\Main.java:21: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++) {
                ^
0_0_24678465_23838\Main.java:21: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++) {
                    ^
0_0_24678465_23838\Main.java:23: 错误: 需要class, interface或enum
    }
    ^
0_0_24678465_23838\Main.java:26: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++) {
        ^
0_0_24678465_23838\Main.java:26: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++) {
                    ^
0_0_24678465_23838\Main.java:26: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++) {
                        ^
0_0_24678465_23838\Main.java:28: 错误: 需要class, interface或enum
        if(a[i]<x && a[i] >nx) leap = 1;
        ^
0_0_24678465_23838\Main.java:29: 错误: 需要class, interface或enum
        if(a[i]>x && a[i] <nx) leap = 1;
        ^
0_0_24678465_23838\Main.java:30: 错误: 需要class, interface或enum
       }
       ^
0_0_24678465_23838\Main.java:32: 错误: 需要class, interface或enum
    }
    ^
0_0_24678465_23838\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_24678465_23838\Main.java:39: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++) {
    ^
0_0_24678465_23838\Main.java:39: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++) {
                ^
0_0_24678465_23838\Main.java:39: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++) {
                    ^
0_0_24678465_23838\Main.java:44: 错误: 需要class, interface或enum
        }else if(s[i]=='H') {
        ^
0_0_24678465_23838\Main.java:45: 错误: 需要class, interface或enum
            for(int j=0;j<4;j++) {
                        ^
0_0_24678465_23838\Main.java:45: 错误: 需要class, interface或enum
            for(int j=0;j<4;j++) {
                            ^
0_0_24678465_23838\Main.java:47: 错误: 需要class, interface或enum
                int ey = dir[j][1] + b[i];
                ^
0_0_24678465_23838\Main.java:48: 错误: 需要class, interface或enum
                bool leap = 0;
                ^
0_0_24678465_23838\Main.java:49: 错误: 需要class, interface或enum
                for(int k=0;k<n;k++) {
                ^
0_0_24678465_23838\Main.java:49: 错误: 需要class, interface或enum
                for(int k=0;k<n;k++) {
                            ^
0_0_24678465_23838\Main.java:49: 错误: 需要class, interface或enum
                for(int k=0;k<n;k++) {
                                ^
0_0_24678465_23838\Main.java:51: 错误: 需要class, interface或enum
                }
                ^
0_0_24678465_23838\Main.java:53: 错误: 需要class, interface或enum
                if(j<2) {
                ^
0_0_24678465_23838\Main.java:55: 错误: 需要class, interface或enum
                    ey += 1;
                    ^
0_0_24678465_23838\Main.java:56: 错误: 需要class, interface或enum
                    if(xx == ex && yy == ey) flag = 1;
                    ^
0_0_24678465_23838\Main.java:57: 错误: 需要class, interface或enum
                    ey -= 2;
                    ^
0_0_24678465_23838\Main.java:58: 错误: 需要class, interface或enum
                    if(xx == ex && yy == ey) flag = 1;
                    ^
0_0_24678465_23838\Main.java:59: 错误: 需要class, interface或enum
                }else{
                ^
0_0_24678465_23838\Main.java:61: 错误: 需要class, interface或enum
                    ex += 1;
                    ^
0_0_24678465_23838\Main.java:62: 错误: 需要class, interface或enum
                    if(xx == ex && yy == ey) flag = 1;
                    ^
0_0_24678465_23838\Main.java:63: 错误: 需要class, interface或enum
                    ex -= 2;
                    ^
0_0_24678465_23838\Main.java:64: 错误: 需要class, interface或enum
                    if(xx == ex && yy == ey) flag = 1;
                    ^
0_0_24678465_23838\Main.java:65: 错误: 需要class, interface或enum
                }
                ^
0_0_24678465_23838\Main.java:71: 错误: 需要class, interface或enum
            if(xx == a[i]) {
            ^
0_0_24678465_23838\Main.java:72: 错误: 需要class, interface或enum
                for(int j=0;j<n;j++) {
                            ^
0_0_24678465_23838\Main.java:72: 错误: 需要class, interface或enum
                for(int j=0;j<n;j++) {
                                ^
0_0_24678465_23838\Main.java:75: 错误: 需要class, interface或enum
                        if( b[j] > yy && b[j] < b[i]) leap = 1;
                        ^
0_0_24678465_23838\Main.java:76: 错误: 需要class, interface或enum
                    }
                    ^
0_0_24678465_23838\Main.java:79: 错误: 需要class, interface或enum
            }
            ^
0_0_24678465_23838\Main.java:82: 错误: 需要class, interface或enum
                for(int j=0;j<n;j++) {
                            ^
0_0_24678465_23838\Main.java:82: 错误: 需要class, interface或enum
                for(int j=0;j<n;j++) {
                                ^
0_0_24678465_23838\Main.java:85: 错误: 需要class, interface或enum
                        if( a[j] > xx && a[j] < a[i]) leap = 1;
                        ^
0_0_24678465_23838\Main.java:86: 错误: 需要class, interface或enum
                    }
                    ^
0_0_24678465_23838\Main.java:89: 错误: 需要class, interface或enum
            }
            ^
0_0_24678465_23838\Main.java:94: 错误: 需要class, interface或enum
            if(xx == a[i]) {
            ^
0_0_24678465_23838\Main.java:95: 错误: 需要class, interface或enum
                for(int j=0;j<n;j++) {
                            ^
0_0_24678465_23838\Main.java:95: 错误: 需要class, interface或enum
                for(int j=0;j<n;j++) {
                                ^
0_0_24678465_23838\Main.java:98: 错误: 需要class, interface或enum
                        if( b[j] > yy && b[j] < b[i]) leap++;
                        ^
0_0_24678465_23838\Main.java:99: 错误: 需要class, interface或enum
                    }
                    ^
0_0_24678465_23838\Main.java:103: 错误: 需要class, interface或enum
                for(int j=0;j<n;j++) {
                            ^
0_0_24678465_23838\Main.java:103: 错误: 需要class, interface或enum
                for(int j=0;j<n;j++) {
                                ^
0_0_24678465_23838\Main.java:106: 错误: 需要class, interface或enum
                        if( a[j] > xx && a[j] < a[i]) leap++;
                        ^
0_0_24678465_23838\Main.java:107: 错误: 需要class, interface或enum
                    }
                    ^
0_0_24678465_23838\Main.java:111: 错误: 需要class, interface或enum
        }
        ^
0_0_24678465_23838\Main.java:114: 错误: 需要class, interface或enum
    return 0;
    ^
0_0_24678465_23838\Main.java:115: 错误: 需要class, interface或enum
}
^
0_0_24678465_23838\Main.java:121: 错误: 需要class, interface或enum
    while(cin>>n>>x>>y) {
    ^
0_0_24678465_23838\Main.java:123: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++) {
        ^
0_0_24678465_23838\Main.java:123: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++) {
                    ^
0_0_24678465_23838\Main.java:123: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++) {
                        ^
0_0_24678465_23838\Main.java:126: 错误: 需要class, interface或enum
        }
        ^
0_0_24678465_23838\Main.java:129: 错误: 需要class, interface或enum
             continue;
             ^
0_0_24678465_23838\Main.java:130: 错误: 需要class, interface或enum
        }
        ^
0_0_24678465_23838\Main.java:132: 错误: 需要class, interface或enum
        for(int i=0;i<4;i++) {
        ^
0_0_24678465_23838\Main.java:132: 错误: 需要class, interface或enum
        for(int i=0;i<4;i++) {
                    ^
0_0_24678465_23838\Main.java:132: 错误: 需要class, interface或enum
        for(int i=0;i<4;i++) {
                        ^
0_0_24678465_23838\Main.java:134: 错误: 需要class, 


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-23 07:02:44, Gzip enabled