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_16688666_7212\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
0_0_16688666_7212\Main.java:2: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_16688666_7212\Main.java:3: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_16688666_7212\Main.java:4: 错误: 非法字符: '#'
#include<cstring>
^
0_0_16688666_7212\Main.java:5: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_16688666_7212\Main.java:6: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_16688666_7212\Main.java:7: 错误: 非法字符: '#'
#include<map>
^
0_0_16688666_7212\Main.java:8: 错误: 非法字符: '#'
#include<cmath>
^
0_0_16688666_7212\Main.java:9: 错误: 非法字符: '#'
#include<queue>
^
0_0_16688666_7212\Main.java:10: 错误: 非法字符: '#'
#include<stack>
^
0_0_16688666_7212\Main.java:11: 错误: 非法字符: '#'
#include<ctime>
^
0_0_16688666_7212\Main.java:12: 错误: 非法字符: '#'
#include<vector>
^
0_0_16688666_7212\Main.java:13: 错误: 非法字符: '#'
#include<set>
^
0_0_16688666_7212\Main.java:14: 错误: 非法字符: '#'
#include<cfloat>
^
0_0_16688666_7212\Main.java:18: 错误: 需要class, interface或enum
const int maxn=500030;
^
0_0_16688666_7212\Main.java:19: 错误: 需要class, interface或enum
const int INF=999999999;
^
0_0_16688666_7212\Main.java:20: 错误: 需要class, interface或enum
const float eps = 0.00000001;
^
0_0_16688666_7212\Main.java:21: 错误: 需要class, interface或enum
const int mod=1000000007;
^
0_0_16688666_7212\Main.java:22: 错误: 需要class, interface或enum
const int VM=520;
^
0_0_16688666_7212\Main.java:23: 错误: 需要class, interface或enum
const int EM=500020;
^
0_0_16688666_7212\Main.java:25: 错误: 需要class, interface或enum
typedef pair<int,int> P;
^
0_0_16688666_7212\Main.java:26: 错误: 需要class, interface或enum
int dir[4][2]={{-1,0},{1,0},{0,-1},{0,1}};
^
0_0_16688666_7212\Main.java:28: 错误: 需要class, interface或enum
char str[520][520];
^
0_0_16688666_7212\Main.java:29: 错误: 需要class, interface或enum
int mark[520][520],mp[520];
^
0_0_16688666_7212\Main.java:30: 错误: 需要class, interface或enum
int father[520*520];
^
0_0_16688666_7212\Main.java:32: 错误: 需要class, interface或enum
struct node{
^
0_0_16688666_7212\Main.java:34: 错误: 需要class, interface或enum
}mt[520*520];
^
0_0_16688666_7212\Main.java:36: 错误: 需要class, interface或enum
int findSet(int x){
^
0_0_16688666_7212\Main.java:39: 错误: 需要class, interface或enum
    }
    ^
0_0_16688666_7212\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_16688666_7212\Main.java:50: 错误: 需要class, interface或enum
    scanf("%d",&t);
    ^
0_0_16688666_7212\Main.java:51: 错误: 需要class, interface或enum
    int n,m,q;
    ^
0_0_16688666_7212\Main.java:52: 错误: 需要class, interface或enum
    while(t--){
    ^
0_0_16688666_7212\Main.java:54: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
        ^
0_0_16688666_7212\Main.java:54: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
                    ^
0_0_16688666_7212\Main.java:54: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
                         ^
0_0_16688666_7212\Main.java:56: 错误: 需要class, interface或enum
        }
        ^
0_0_16688666_7212\Main.java:59: 错误: 需要class, interface或enum
        int cnt=0;
        ^
0_0_16688666_7212\Main.java:60: 错误: 需要class, interface或enum
        while(q--){
        ^
0_0_16688666_7212\Main.java:62: 错误: 需要class, interface或enum
            mt[cnt].x++;
            ^
0_0_16688666_7212\Main.java:63: 错误: 需要class, interface或enum
            mt[cnt].y++;
            ^
0_0_16688666_7212\Main.java:64: 错误: 需要class, interface或enum
            str[mt[cnt].x][mt[cnt].y]='1';
            ^
0_0_16688666_7212\Main.java:65: 错误: 需要class, interface或enum
            cnt++;
            ^
0_0_16688666_7212\Main.java:66: 错误: 需要class, interface或enum
        }
        ^
0_0_16688666_7212\Main.java:76: 错误: 需要class, interface或enum
        for(int i=1;i<=n*m+2;i++){
                    ^
0_0_16688666_7212\Main.java:76: 错误: 需要class, interface或enum
        for(int i=1;i<=n*m+2;i++){
                             ^
0_0_16688666_7212\Main.java:78: 错误: 需要class, interface或enum
        }
        ^
0_0_16688666_7212\Main.java:80: 错误: 需要class, interface或enum
        for(int j=1;j<=m;j++){
        ^
0_0_16688666_7212\Main.java:80: 错误: 需要class, interface或enum
        for(int j=1;j<=m;j++){
                    ^
0_0_16688666_7212\Main.java:80: 错误: 需要class, interface或enum
        for(int j=1;j<=m;j++){
                         ^
0_0_16688666_7212\Main.java:83: 错误: 需要class, interface或enum
                fy=j;
                ^
0_0_16688666_7212\Main.java:84: 错误: 需要class, interface或enum
                if(fx!=fy){
                ^
0_0_16688666_7212\Main.java:86: 错误: 需要class, interface或enum
                }
                ^
0_0_16688666_7212\Main.java:90: 错误: 需要class, interface或enum
                fy=(n-1)*m+j;
                ^
0_0_16688666_7212\Main.java:91: 错误: 需要class, interface或enum
                if(fx!=fy)
                ^
0_0_16688666_7212\Main.java:93: 错误: 需要class, interface或enum
            }
            ^
0_0_16688666_7212\Main.java:96: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
        ^
0_0_16688666_7212\Main.java:96: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
                    ^
0_0_16688666_7212\Main.java:96: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
                         ^
0_0_16688666_7212\Main.java:97: 错误: 需要class, interface或enum
            for(int j=1;j<=m;j++){
                        ^
0_0_16688666_7212\Main.java:97: 错误: 需要class, interface或enum
            for(int j=1;j<=m;j++){
                             ^
0_0_16688666_7212\Main.java:101: 错误: 需要class, interface或enum
                    for(int k=0;k<4;k++){
                    ^
0_0_16688666_7212\Main.java:101: 错误: 需要class, interface或enum
                    for(int k=0;k<4;k++){
                                ^
0_0_16688666_7212\Main.java:101: 错误: 需要class, interface或enum
                    for(int k=0;k<4;k++){
                                    ^
0_0_16688666_7212\Main.java:103: 错误: 需要class, interface或enum
                        y=j+dir[k][1];
                        ^
0_0_16688666_7212\Main.java:104: 错误: 需要class, interface或enum
                        if(x>=1 && x<=n && y>=1 && y<=m && str[x][y]=='0'){
                        ^
0_0_16688666_7212\Main.java:106: 错误: 需要class, interface或enum
                            fx=findSet(id1);
                            ^
0_0_16688666_7212\Main.java:107: 错误: 需要class, interface或enum
                            fy=findSet(id2);
                            ^
0_0_16688666_7212\Main.java:108: 错误: 需要class, interface或enum
                            if(fx<fy){
                            ^
0_0_16688666_7212\Main.java:110: 错误: 需要class, interface或enum
                            }else if(fx>fy){
                            ^
0_0_16688666_7212\Main.java:112: 错误: 需要class, interface或enum
                            }
                            ^
0_0_16688666_7212\Main.java:119: 错误: 需要class, interface或enum
        fy=findSet(n*m+2);
        ^
0_0_16688666_7212\Main.java:120: 错误: 需要class, interface或enum
        if(fx==fy){
        ^
0_0_16688666_7212\Main.java:122: 错误: 需要class, interface或enum
            continue;
            ^
0_0_16688666_7212\Main.java:123: 错误: 需要class, interface或enum
        }
        ^
0_0_16688666_7212\Main.java:125: 错误: 需要class, interface或enum
        for(i=cnt-1;i>=0;i--){
        ^
0_0_16688666_7212\Main.java:125: 错误: 需要class, interface或enum
        for(i=cnt-1;i>=0;i--){
                    ^
0_0_16688666_7212\Main.java:125: 错误: 需要class, interface或enum
        for(i=cnt-1;i>=0;i--){
                         ^
0_0_16688666_7212\Main.java:127: 错误: 需要class, interface或enum
            id1=(mt[i].x-1)*m+mt[i].y;
            ^
0_0_16688666_7212\Main.java:128: 错误: 需要class, interface或enum
            if(mt[i].x==1){
            ^
0_0_16688666_7212\Main.java:130: 错误: 需要class, interface或enum
            }
            ^
0_0_16688666_7212\Main.java:133: 错误: 需要class, interface或enum
            }
            ^
0_0_16688666_7212\Main.java:134: 错误: 需要class, interface或enum
            for(int k=0;k<4;k++){
                        ^
0_0_16688666_7212\Main.java:134: 错误: 需要class, interface或enum
            for(int k=0;k<4;k++){
                            ^
0_0_16688666_7212\Main.java:136: 错误: 需要class, interface或enum
                y=mt[i].y+dir[k][1];
                ^
0_0_16688666_7212\Main.java:137: 错误: 需要class, interface或enum
                if(x>=1 && x<=n && y>=1 && y<=m && str[x][y]=='0'){
                ^
0_0_16688666_7212\Main.java:139: 错误: 需要class, interface或enum
                    fx=findSet(id1);
                    ^
0_0_16688666_7212\Main.java:140: 错误: 需要class, interface或enum
                    fy=findSet(id2);
                    ^
0_0_16688666_7212\Main.java:141: 错误: 需要class, interface或enum
                    if(fx<fy){
                    ^
0_0_16688666_7212\Main.java:143: 错误: 需要class, interface或enum


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-17 00:45:01, Gzip enabled