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_17448803_25375\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_17448803_25375\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
        ^
0_0_17448803_25375\Main.java:2: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_17448803_25375\Main.java:4: 错误: 需要class, interface或enum
int start_g[1000001][2];
^
0_0_17448803_25375\Main.java:5: 错误: 需要class, interface或enum
int start_c[1000001][2];
^
0_0_17448803_25375\Main.java:6: 错误: 需要class, interface或enum
char check_g[4]={'g','i','r','l'};
^
0_0_17448803_25375\Main.java:7: 错误: 需要class, interface或enum
char check_c[3]={'c','a','t'};
^
0_0_17448803_25375\Main.java:8: 错误: 需要class, interface或enum
int count_girl;
^
0_0_17448803_25375\Main.java:9: 错误: 需要class, interface或enum
int count_cat;
^
0_0_17448803_25375\Main.java:10: 错误: 需要class, interface或enum
int move[4][2]={{1,0},{0,1},{-1,0},{0,-1}};
^
0_0_17448803_25375\Main.java:11: 错误: 需要class, interface或enum
void dfs_g(int x,int y,int step)
^
0_0_17448803_25375\Main.java:17: 错误: 需要class, interface或enum
        return;
        ^
0_0_17448803_25375\Main.java:18: 错误: 需要class, interface或enum
    }
    ^
0_0_17448803_25375\Main.java:21: 错误: 需要class, interface或enum
        for(int i=0;i<4;i++)
                    ^
0_0_17448803_25375\Main.java:21: 错误: 需要class, interface或enum
        for(int i=0;i<4;i++)
                        ^
0_0_17448803_25375\Main.java:24: 错误: 需要class, interface或enum
        }
        ^
0_0_17448803_25375\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:34: 错误: 需要class, interface或enum
        return;
        ^
0_0_17448803_25375\Main.java:35: 错误: 需要class, interface或enum
    }
    ^
0_0_17448803_25375\Main.java:38: 错误: 需要class, interface或enum
        for(int i=0;i<4;i++)
                    ^
0_0_17448803_25375\Main.java:38: 错误: 需要class, interface或enum
        for(int i=0;i<4;i++)
                        ^
0_0_17448803_25375\Main.java:41: 错误: 需要class, interface或enum
        }
        ^
0_0_17448803_25375\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:48: 错误: 需要class, interface或enum
    scanf("%d",&n);
    ^
0_0_17448803_25375\Main.java:49: 错误: 需要class, interface或enum
    int x,y;
    ^
0_0_17448803_25375\Main.java:50: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++)
    ^
0_0_17448803_25375\Main.java:50: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++)
                ^
0_0_17448803_25375\Main.java:50: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++)
                    ^
0_0_17448803_25375\Main.java:53: 错误: 需要class, interface或enum
        scanf("%d%d",&x,&y);
        ^
0_0_17448803_25375\Main.java:54: 错误: 需要class, interface或enum
        getchar();
        ^
0_0_17448803_25375\Main.java:55: 错误: 需要class, interface或enum
        int count_g,count_c;
        ^
0_0_17448803_25375\Main.java:56: 错误: 需要class, interface或enum
        count_c=count_g=0;
        ^
0_0_17448803_25375\Main.java:57: 错误: 需要class, interface或enum
        for(int t=1;t<=x;t++)
        ^
0_0_17448803_25375\Main.java:57: 错误: 需要class, interface或enum
        for(int t=1;t<=x;t++)
                    ^
0_0_17448803_25375\Main.java:57: 错误: 需要class, interface或enum
        for(int t=1;t<=x;t++)
                         ^
0_0_17448803_25375\Main.java:59: 错误: 需要class, interface或enum
            for(int l=1;l<=y;l++)
                        ^
0_0_17448803_25375\Main.java:59: 错误: 需要class, interface或enum
            for(int l=1;l<=y;l++)
                             ^
0_0_17448803_25375\Main.java:62: 错误: 需要class, interface或enum
                if(buf[t][l]=='g')
                ^
0_0_17448803_25375\Main.java:65: 错误: 需要class, interface或enum
                    start_g[count_g][1]=l;
                    ^
0_0_17448803_25375\Main.java:66: 错误: 需要class, interface或enum
                    count_g++;
                    ^
0_0_17448803_25375\Main.java:67: 错误: 需要class, interface或enum
                }
                ^
0_0_17448803_25375\Main.java:71: 错误: 需要class, interface或enum
                    start_c[count_c][1]=l;
                    ^
0_0_17448803_25375\Main.java:72: 错误: 需要class, interface或enum
                    count_c++;
                    ^
0_0_17448803_25375\Main.java:73: 错误: 需要class, interface或enum
                }
                ^
0_0_17448803_25375\Main.java:76: 错误: 需要class, interface或enum
        }
        ^
0_0_17448803_25375\Main.java:85: 错误: 需要class, interface或enum
        for(int i=0;i<count_g;i++)
                    ^
0_0_17448803_25375\Main.java:85: 错误: 需要class, interface或enum
        for(int i=0;i<count_g;i++)
                              ^
0_0_17448803_25375\Main.java:88: 错误: 需要class, interface或enum
        }
        ^
0_0_17448803_25375\Main.java:89: 错误: 需要class, interface或enum
        for(int i=0;i<count_c;i++)
                    ^
0_0_17448803_25375\Main.java:89: 错误: 需要class, interface或enum
        for(int i=0;i<count_c;i++)
                              ^
0_0_17448803_25375\Main.java:92: 错误: 需要class, interface或enum
        }
        ^
0_0_17448803_25375\Main.java:95: 错误: 需要class, interface或enum
    }
    ^
52 个错误


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-12-02 10:41:50, Gzip enabled