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_18255305_17088\Main.java:1: 错误: 非法字符: '#'
# include<stdio.h>
^
0_0_18255305_17088\Main.java:1: 错误: 需要class, interface或enum
# include<stdio.h>
         ^
0_0_18255305_17088\Main.java:2: 错误: 非法字符: '#'
# include<string.h>
^
0_0_18255305_17088\Main.java:3: 错误: 非法字符: '#'
# include<stdlib.h>
^
0_0_18255305_17088\Main.java:4: 错误: 非法字符: '#'
# include<queue>
^
0_0_18255305_17088\Main.java:5: 错误: 非法字符: '#'
# define N 105 
^
0_0_18255305_17088\Main.java:7: 错误: 需要class, interface或enum
int n,m,MP; 
^
0_0_18255305_17088\Main.java:8: 错误: 需要class, interface或enum
bool map[N][N][10]; 
^
0_0_18255305_17088\Main.java:9: 错误: 需要class, interface或enum
bool visit[N][N]; 
^
0_0_18255305_17088\Main.java:10: 错误: 需要class, interface或enum
int x0,y0,endx,endy; 
^
0_0_18255305_17088\Main.java:11: 错误: 需要class, interface或enum
int dir1[6][2]={-1,1, 0,1, 1,1, 1,0, 0,-1, -1,0};
^
0_0_18255305_17088\Main.java:12: 错误: 需要class, interface或enum
int dir2[6][2]={-1,0, 0,1, 1,0, 1,-1, 0,-1, -1,-1};
^
0_0_18255305_17088\Main.java:13: 错误: 需要class, interface或enum
struct node{
^
0_0_18255305_17088\Main.java:15: 错误: 需要class, interface或enum
    int sum;
    ^
0_0_18255305_17088\Main.java:16: 错误: 需要class, interface或enum
    bool operator<(const node &b) const
    ^
0_0_18255305_17088\Main.java:19: 错误: 需要class, interface或enum
    } 
    ^
0_0_18255305_17088\Main.java:21: 错误: 需要class, interface或enum
int MIN(int a,int b)
^
0_0_18255305_17088\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_18255305_17088\Main.java:28: 错误: 需要class, interface或enum
    return 1; 
    ^
0_0_18255305_17088\Main.java:29: 错误: 需要class, interface或enum
} 
^
0_0_18255305_17088\Main.java:33: 错误: 需要class, interface或enum
    if(xx%2==1)
    ^
0_0_18255305_17088\Main.java:35: 错误: 需要class, interface或enum
        for(i=0;i<6;i++)
                ^
0_0_18255305_17088\Main.java:35: 错误: 需要class, interface或enum
        for(i=0;i<6;i++)
                    ^
0_0_18255305_17088\Main.java:38: 错误: 需要class, interface或enum
            y1=yy+dir1[i][1];
            ^
0_0_18255305_17088\Main.java:39: 错误: 需要class, interface或enum
            if(is(x1,y1) && map[x1][y1][3]) return 1; 
            ^
0_0_18255305_17088\Main.java:40: 错误: 需要class, interface或enum
        } 
        ^
0_0_18255305_17088\Main.java:42: 错误: 需要class, interface或enum
    } 
    ^
0_0_18255305_17088\Main.java:45: 错误: 需要class, interface或enum
        for(i=0;i<6;i++)
                ^
0_0_18255305_17088\Main.java:45: 错误: 需要class, interface或enum
        for(i=0;i<6;i++)
                    ^
0_0_18255305_17088\Main.java:48: 错误: 需要class, interface或enum
            y1=yy+dir2[i][1];
            ^
0_0_18255305_17088\Main.java:49: 错误: 需要class, interface或enum
            if(is(x1,y1) && map[x1][y1][3]) return 1; 
            ^
0_0_18255305_17088\Main.java:50: 错误: 需要class, interface或enum
        } 
        ^
0_0_18255305_17088\Main.java:52: 错误: 需要class, interface或enum
    } 
    ^
0_0_18255305_17088\Main.java:57: 错误: 需要class, interface或enum
    node cur,next;
    ^
0_0_18255305_17088\Main.java:58: 错误: 需要class, interface或enum
    int i,cost,remain;
    ^
0_0_18255305_17088\Main.java:59: 错误: 需要class, interface或enum
    cur.x=x0;
    ^
0_0_18255305_17088\Main.java:60: 错误: 需要class, interface或enum
    cur.y=y0;
    ^
0_0_18255305_17088\Main.java:61: 错误: 需要class, interface或enum
    cur.sum=0;
    ^
0_0_18255305_17088\Main.java:62: 错误: 需要class, interface或enum
    while(!q.empty()) q.pop(); 
    ^
0_0_18255305_17088\Main.java:63: 错误: 需要class, interface或enum
    q.push(cur); 
    ^
0_0_18255305_17088\Main.java:64: 错误: 需要class, interface或enum
    while(!q.empty())
    ^
0_0_18255305_17088\Main.java:67: 错误: 需要class, interface或enum
        q.pop();
        ^
0_0_18255305_17088\Main.java:68: 错误: 需要class, interface或enum
        remain=MP-cur.sum%MP;
        ^
0_0_18255305_17088\Main.java:69: 错误: 需要class, interface或enum
        if(cur.x==endx && cur.y==endy) 
        ^
0_0_18255305_17088\Main.java:72: 错误: 需要class, interface或enum
            else return cur.sum/MP+1; 
            ^
0_0_18255305_17088\Main.java:73: 错误: 需要class, interface或enum
        } 
        ^
0_0_18255305_17088\Main.java:75: 错误: 需要class, interface或enum
        visit[cur.x][cur.y]=1; 
        ^
0_0_18255305_17088\Main.java:76: 错误: 需要class, interface或enum
        for(i=0;i<6;i++)
        ^
0_0_18255305_17088\Main.java:76: 错误: 需要class, interface或enum
        for(i=0;i<6;i++)
                ^
0_0_18255305_17088\Main.java:76: 错误: 需要class, interface或enum
        for(i=0;i<6;i++)
                    ^
0_0_18255305_17088\Main.java:81: 错误: 需要class, interface或enum
                next.y=cur.y+dir1[i][1]; 
                ^
0_0_18255305_17088\Main.java:82: 错误: 需要class, interface或enum
            } 
            ^
0_0_18255305_17088\Main.java:86: 错误: 需要class, interface或enum
                next.y=cur.y+dir2[i][1]; 
                ^
0_0_18255305_17088\Main.java:87: 错误: 需要class, interface或enum
            } 
            ^
0_0_18255305_17088\Main.java:89: 错误: 需要class, interface或enum
            if(is1(cur.x,cur.y) && is1(next.x,next.y)) 
            ^
0_0_18255305_17088\Main.java:92: 错误: 需要class, interface或enum
                q.push(next);
                ^
0_0_18255305_17088\Main.java:93: 错误: 需要class, interface或enum
            }
            ^
0_0_18255305_17088\Main.java:97: 错误: 需要class, interface或enum
                q.push(next);
                ^
0_0_18255305_17088\Main.java:98: 错误: 需要class, interface或enum
            }
            ^
0_0_18255305_17088\Main.java:102: 错误: 需要class, interface或enum
                q.push(next);
                ^
0_0_18255305_17088\Main.java:103: 错误: 需要class, interface或enum
            }
            ^
0_0_18255305_17088\Main.java:107: 错误: 需要class, interface或enum
                else cost=2;
                ^
0_0_18255305_17088\Main.java:108: 错误: 需要class, interface或enum
                cost *=4;
                ^
0_0_18255305_17088\Main.java:109: 错误: 需要class, interface或enum
                next.sum=cur.sum+MIN(cost,remain);
                ^
0_0_18255305_17088\Main.java:110: 错误: 需要class, interface或enum
                q.push(next);
                ^
0_0_18255305_17088\Main.java:111: 错误: 需要class, interface或enum
            }
            ^
0_0_18255305_17088\Main.java:115: 错误: 需要class, interface或enum
} 
^
0_0_18255305_17088\Main.java:119: 错误: 需要class, interface或enum
    int a[10],ans;
    ^
0_0_18255305_17088\Main.java:120: 错误: 需要class, interface或enum
    a[0]=1;
    ^
0_0_18255305_17088\Main.java:121: 错误: 需要class, interface或enum
    for(i=1;i<10;i++)
    ^
0_0_18255305_17088\Main.java:121: 错误: 需要class, interface或enum
    for(i=1;i<10;i++)
            ^
0_0_18255305_17088\Main.java:121: 错误: 需要class, interface或enum
    for(i=1;i<10;i++)
                 ^
0_0_18255305_17088\Main.java:123: 错误: 需要class, interface或enum
    scanf("%d",&ncase);
    ^
0_0_18255305_17088\Main.java:124: 错误: 需要class, interface或enum
    for(t=1;t<=ncase;t++)
    ^
0_0_18255305_17088\Main.java:124: 错误: 需要class, interface或enum
    for(t=1;t<=ncase;t++)
            ^
0_0_18255305_17088\Main.java:124: 错误: 需要class, interface或enum
    for(t=1;t<=ncase;t++)
                     ^
0_0_18255305_17088\Main.java:127: 错误: 需要class, interface或enum
        MP*=4;
        ^
0_0_18255305_17088\Main.java:128: 错误: 需要class, interface或enum
        memset(map,0,sizeof(map)); 
        ^
0_0_18255305_17088\Main.java:129: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
        ^
0_0_18255305_17088\Main.java:129: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
                ^
0_0_18255305_17088\Main.java:129: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
                    ^
0_0_18255305_17088\Main.java:130: 错误: 需要class, interface或enum
        for(j=0;j<m;j++)
                ^
0_0_18255305_17088\Main.java:130: 错误: 需要class, interface或enum
        for(j=0;j<m;j++)
                    ^
0_0_18255305_17088\Main.java:133: 错误: 需要class, interface或enum
            for(k=9;k>=0;k--)
            ^
0_0_18255305_17088\Main.java:133: 错误: 需要class, interface或enum
            for(k=9;k>=0;k--)
                    ^
0_0_18255305_17088\Main.java:133: 错误: 需要class, interface或enum
            for(k=9;k>=0;k--)
                         ^
0_0_18255305_17088\Main.java:137: 错误: 需要class, interface或enum
                ans-=a[k]; 
                ^
0_0_18255305_17088\Main.java:138: 错误: 需要class, interface或enum
            }  
            ^
0_0_18255305_17088\Main.java:141: 错误: 需要class, interface或enum
        memset(visit,0,sizeof(visit)); 
        ^
0_0_18255305_17088\Main.java:142: 错误: 需要class, interface或enum
        printf("Case %d: %d\n",t,bfs()); 
        ^
0_0_18255305_17088\Main.java:143: 错误: 需要class, interface或enum
    } 
    ^
0_0_18255305_17088\Main.java:145: 错误: 需要class, interface或enum
}
^
92 个错误


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 09:09:41, Gzip enabled