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_13955517_4583\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_13955517_4583\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_13955517_4583\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_13955517_4583\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_13955517_4583\Main.java:4: 错误: 非法字符: '#'
#include<cmath>
^
0_0_13955517_4583\Main.java:5: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_13955517_4583\Main.java:6: 错误: 非法字符: '#'
#include<queue>
^
0_0_13955517_4583\Main.java:7: 错误: 非法字符: '#'
#include<vector>
^
0_0_13955517_4583\Main.java:8: 错误: 非法字符: '#'
#include<stack>
^
0_0_13955517_4583\Main.java:9: 错误: 非法字符: '#'
#include<map>
^
0_0_13955517_4583\Main.java:11: 错误: 需要class, interface或enum
struct State
^
0_0_13955517_4583\Main.java:14: 错误: 需要class, interface或enum
}start,end;
^
0_0_13955517_4583\Main.java:15: 错误: 需要class, interface或enum
void st(State &t)//给状态升序 x,y,z
^
0_0_13955517_4583\Main.java:19: 错误: 需要class, interface或enum
    if(t.x>t.z)
    ^
0_0_13955517_4583\Main.java:21: 错误: 需要class, interface或enum
    if(t.y>t.z)
    ^
0_0_13955517_4583\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_13955517_4583\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_13955517_4583\Main.java:32: 错误: 需要class, interface或enum
    int p=t.z-t.y,q=t.y-t.x,r;
    ^
0_0_13955517_4583\Main.java:33: 错误: 需要class, interface或enum
    while(p!=q)
    ^
0_0_13955517_4583\Main.java:38: 错误: 需要class, interface或enum
            t.y+=r*q;
            ^
0_0_13955517_4583\Main.java:39: 错误: 需要class, interface或enum
            t.x+=r*q;       
            ^
0_0_13955517_4583\Main.java:40: 错误: 需要class, interface或enum
        }
        ^
0_0_13955517_4583\Main.java:44: 错误: 需要class, interface或enum
            t.z-=r*p;
            ^
0_0_13955517_4583\Main.java:45: 错误: 需要class, interface或enum
            t.y-=r*p;
            ^
0_0_13955517_4583\Main.java:46: 错误: 需要class, interface或enum
        }
        ^
0_0_13955517_4583\Main.java:48: 错误: 需要class, interface或enum
        st(t);
        ^
0_0_13955517_4583\Main.java:49: 错误: 需要class, interface或enum
        p=t.z-t.y;
        ^
0_0_13955517_4583\Main.java:50: 错误: 需要class, interface或enum
        q=t.y-t.x;
        ^
0_0_13955517_4583\Main.java:51: 错误: 需要class, interface或enum
    }
    ^
0_0_13955517_4583\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_13955517_4583\Main.java:57: 错误: 需要class, interface或enum
    while(step>0)
    ^
0_0_13955517_4583\Main.java:60: 错误: 需要class, interface或enum
        if(p>q)
        ^
0_0_13955517_4583\Main.java:63: 错误: 需要class, interface或enum
            if(r>step) r=step;
            ^
0_0_13955517_4583\Main.java:64: 错误: 需要class, interface或enum
            t.x+=r*q;
            ^
0_0_13955517_4583\Main.java:65: 错误: 需要class, interface或enum
            t.y+=r*q;
            ^
0_0_13955517_4583\Main.java:66: 错误: 需要class, interface或enum
        }
        ^
0_0_13955517_4583\Main.java:70: 错误: 需要class, interface或enum
            if(r>step) r=step;
            ^
0_0_13955517_4583\Main.java:71: 错误: 需要class, interface或enum
            t.z-=r*p;
            ^
0_0_13955517_4583\Main.java:72: 错误: 需要class, interface或enum
            t.y-=r*p;
            ^
0_0_13955517_4583\Main.java:73: 错误: 需要class, interface或enum
        }
        ^
0_0_13955517_4583\Main.java:75: 错误: 需要class, interface或enum
        st(t);
        ^
0_0_13955517_4583\Main.java:76: 错误: 需要class, interface或enum
        p=t.z-t.y;
        ^
0_0_13955517_4583\Main.java:77: 错误: 需要class, interface或enum
        q=t.y-t.x;
        ^
0_0_13955517_4583\Main.java:78: 错误: 需要class, interface或enum
    }
    ^
0_0_13955517_4583\Main.java:80: 错误: 需要class, interface或enum
}
^
0_0_13955517_4583\Main.java:84: 错误: 需要class, interface或enum
    while(scanf("%d%d%d%d%d%d",&x,&y,&z,&xx,&yy,&zz)==6)
    ^
0_0_13955517_4583\Main.java:86: 错误: 需要class, interface或enum
        start.x=x;start.y=y;start.z=z;start.d=0;
                  ^
0_0_13955517_4583\Main.java:86: 错误: 需要class, interface或enum
        start.x=x;start.y=y;start.z=z;start.d=0;
                            ^
0_0_13955517_4583\Main.java:86: 错误: 需要class, interface或enum
        start.x=x;start.y=y;start.z=z;start.d=0;
                                      ^
0_0_13955517_4583\Main.java:87: 错误: 需要class, interface或enum
        end.x=xx;end.y=yy;end.z=zz;end.d=0;
        ^
0_0_13955517_4583\Main.java:87: 错误: 需要class, interface或enum
        end.x=xx;end.y=yy;end.z=zz;end.d=0;
                 ^
0_0_13955517_4583\Main.java:87: 错误: 需要class, interface或enum
        end.x=xx;end.y=yy;end.z=zz;end.d=0;
                          ^
0_0_13955517_4583\Main.java:87: 错误: 需要class, interface或enum
        end.x=xx;end.y=yy;end.z=zz;end.d=0;
                                   ^
0_0_13955517_4583\Main.java:88: 错误: 需要class, interface或enum
        st(start);st(end);
        ^
0_0_13955517_4583\Main.java:88: 错误: 需要class, interface或enum
        st(start);st(end);
                  ^
0_0_13955517_4583\Main.java:90: 错误: 需要class, interface或enum
        if(!Equal(Root(start),Root(end)))
        ^
0_0_13955517_4583\Main.java:93: 错误: 需要class, interface或enum
        }
        ^
0_0_13955517_4583\Main.java:97: 错误: 需要class, interface或enum
            if(start.d>end.d) start=SearchParent(start,dis);
            ^
0_0_13955517_4583\Main.java:98: 错误: 需要class, interface或enum
            else end=SearchParent(end,dis);//使得两个状态的深度一致
            ^
0_0_13955517_4583\Main.java:100: 错误: 需要class, interface或enum
            long long mid,low=0,hei=deep1<deep2?deep1:deep2;
            ^
0_0_13955517_4583\Main.java:101: 错误: 需要class, interface或enum
            while(low<hei)//二分找到最近的公共祖先
            ^
0_0_13955517_4583\Main.java:104: 错误: 需要class, interface或enum
                if(Equal(SearchParent(start,mid),SearchParent(end,mid)))
                ^
0_0_13955517_4583\Main.java:106: 错误: 需要class, interface或enum
                else
                ^
0_0_13955517_4583\Main.java:108: 错误: 需要class, interface或enum
            }
            ^
0_0_13955517_4583\Main.java:110: 错误: 需要class, interface或enum
        }
        ^
0_0_13955517_4583\Main.java:113: 错误: 需要class, interface或enum
}
^
66 个错误


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-30 07:40:21, Gzip enabled