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_38596084_29276\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_38596084_29276\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_38596084_29276\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_38596084_29276\Main.java:3: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_38596084_29276\Main.java:4: 错误: 非法字符: '#'
#include <cmath>
^
0_0_38596084_29276\Main.java:5: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_38596084_29276\Main.java:7: 错误: 非法字符: '#'
#define eps 1e-8
^
0_0_38596084_29276\Main.java:7: 错误: 需要class, interface或enum
#define eps 1e-8
        ^
0_0_38596084_29276\Main.java:8: 错误: 非法字符: '#'
#define inf 1e8
^
0_0_38596084_29276\Main.java:9: 错误: 非法字符: '#'
#define zero(x) (((x)>0?(x):-(X))<eps)
^
0_0_38596084_29276\Main.java:13: 错误: 需要class, interface或enum
    double y;
    ^
0_0_38596084_29276\Main.java:14: 错误: 需要class, interface或enum
    double z;
    ^
0_0_38596084_29276\Main.java:15: 错误: 需要class, interface或enum
}temp,temp1,temp3;
^
0_0_38596084_29276\Main.java:16: 错误: 需要class, interface或enum
struct line3
^
0_0_38596084_29276\Main.java:19: 错误: 需要class, interface或enum
    point3 b;
    ^
0_0_38596084_29276\Main.java:20: 错误: 需要class, interface或enum
};
^
0_0_38596084_29276\Main.java:21: 错误: 需要class, interface或enum
struct plane3
^
0_0_38596084_29276\Main.java:24: 错误: 需要class, interface或enum
    point3 b;
    ^
0_0_38596084_29276\Main.java:25: 错误: 需要class, interface或enum
    point3 c;
    ^
0_0_38596084_29276\Main.java:26: 错误: 需要class, interface或enum
    double r;
    ^
0_0_38596084_29276\Main.java:27: 错误: 需要class, interface或enum
};
^
0_0_38596084_29276\Main.java:28: 错误: 需要class, interface或enum
point3 xmult(point3 u,point3 v)
^
0_0_38596084_29276\Main.java:31: 错误: 需要class, interface或enum
    ret.x=u.y*v.z-v.y*u.z;
    ^
0_0_38596084_29276\Main.java:32: 错误: 需要class, interface或enum
    ret.y=u.z*v.x-u.x*v.z;
    ^
0_0_38596084_29276\Main.java:33: 错误: 需要class, interface或enum
    ret.z=u.x*v.y-u.y*v.x;
    ^
0_0_38596084_29276\Main.java:34: 错误: 需要class, interface或enum
    return ret;
    ^
0_0_38596084_29276\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_38596084_29276\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_38596084_29276\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_38596084_29276\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_38596084_29276\Main.java:51: 错误: 需要class, interface或enum
    ret.x=u.x-v.x;
    ^
0_0_38596084_29276\Main.java:52: 错误: 需要class, interface或enum
    ret.y=u.y-v.y;
    ^
0_0_38596084_29276\Main.java:53: 错误: 需要class, interface或enum
    ret.z=u.z-v.z;
    ^
0_0_38596084_29276\Main.java:54: 错误: 需要class, interface或enum
    return ret;
    ^
0_0_38596084_29276\Main.java:55: 错误: 需要class, interface或enum
}
^
0_0_38596084_29276\Main.java:59: 错误: 需要class, interface或enum
    return fabs(dmult(subt(u.a,v.a),n))/vlen(n);
    ^
0_0_38596084_29276\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_38596084_29276\Main.java:64: 错误: 需要class, interface或enum
}
^
0_0_38596084_29276\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_38596084_29276\Main.java:72: 错误: 需要class, interface或enum
    point3 pos1,pos2,dir,head1,head2,dir1,dir2;
    ^
0_0_38596084_29276\Main.java:73: 错误: 需要class, interface或enum
    double h1,r1,h2,r2,angle,d;
    ^
0_0_38596084_29276\Main.java:74: 错误: 需要class, interface或enum
    line3 a,b;
    ^
0_0_38596084_29276\Main.java:75: 错误: 需要class, interface或enum
    scanf("%d",&t);
    ^
0_0_38596084_29276\Main.java:75: 错误: 需要class, interface或enum
    scanf("%d",&t);
                    ^
0_0_38596084_29276\Main.java:76: 错误: 需要class, interface或enum
    while(t--)
    ^
0_0_38596084_29276\Main.java:78: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf",&h1,&r1,&pos1.x,&pos1.y,&pos1.z);
                                     ^
0_0_38596084_29276\Main.java:78: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf",&h1,&r1,&pos1.x,&pos1.y,&pos1.z);
                                             ^
0_0_38596084_29276\Main.java:78: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf",&h1,&r1,&pos1.x,&pos1.y,&pos1.z);
                                                     ^
0_0_38596084_29276\Main.java:78: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf",&h1,&r1,&pos1.x,&pos1.y,&pos1.z);
                                                                 ^
0_0_38596084_29276\Main.java:78: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf",&h1,&r1,&pos1.x,&pos1.y,&pos1.z);
                                                                             ^
0_0_38596084_29276\Main.java:79: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf%lf%lf%lf",&h2,&r2,&pos2.x,&pos2.y,&pos2.z,&dir.x,&dir.y,&dir.z);
        ^
0_0_38596084_29276\Main.java:79: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf%lf%lf%lf",&h2,&r2,&pos2.x,&pos2.y,&pos2.z,&dir.x,&dir.y,&dir.z);
                                              ^
0_0_38596084_29276\Main.java:79: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf%lf%lf%lf",&h2,&r2,&pos2.x,&pos2.y,&pos2.z,&dir.x,&dir.y,&dir.z);
                                                      ^
0_0_38596084_29276\Main.java:79: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf%lf%lf%lf",&h2,&r2,&pos2.x,&pos2.y,&pos2.z,&dir.x,&dir.y,&dir.z);
                                                              ^
0_0_38596084_29276\Main.java:79: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf%lf%lf%lf",&h2,&r2,&pos2.x,&pos2.y,&pos2.z,&dir.x,&dir.y,&dir.z);
                                                                          ^
0_0_38596084_29276\Main.java:79: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf%lf%lf%lf",&h2,&r2,&pos2.x,&pos2.y,&pos2.z,&dir.x,&dir.y,&dir.z);
                                                                                      ^
0_0_38596084_29276\Main.java:79: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf%lf%lf%lf",&h2,&r2,&pos2.x,&pos2.y,&pos2.z,&dir.x,&dir.y,&dir.z);
                                                                                                  ^
0_0_38596084_29276\Main.java:79: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf%lf%lf%lf",&h2,&r2,&pos2.x,&pos2.y,&pos2.z,&dir.x,&dir.y,&dir.z);
                                                                                                             ^
0_0_38596084_29276\Main.java:79: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf%lf%lf%lf%lf",&h2,&r2,&pos2.x,&pos2.y,&pos2.z,&dir.x,&dir.y,&dir.z);
                                                                                                                        ^
0_0_38596084_29276\Main.java:80: 错误: 需要class, interface或enum
        head1=pos1;
        ^
0_0_38596084_29276\Main.java:81: 错误: 需要class, interface或enum
        head1.z+=(h1-r1);
        ^
0_0_38596084_29276\Main.java:82: 错误: 需要class, interface或enum
        head2=pos2;
        ^
0_0_38596084_29276\Main.java:83: 错误: 需要class, interface或enum
        head2.z+=(h2*0.9-r2);
        ^
0_0_38596084_29276\Main.java:84: 错误: 需要class, interface或enum
        a.a=head2;//警察-》土匪
        ^
0_0_38596084_29276\Main.java:85: 错误: 需要class, interface或enum
        a.b=head1;
        ^
0_0_38596084_29276\Main.java:86: 错误: 需要class, interface或enum
        b.a=head2;
        ^
0_0_38596084_29276\Main.java:87: 错误: 需要class, interface或enum
        b.b=dir;
        ^
0_0_38596084_29276\Main.java:88: 错误: 需要class, interface或enum
        b.b.x+=b.a.x;
        ^
0_0_38596084_29276\Main.java:89: 错误: 需要class, interface或enum
        b.b.y+=b.a.y;
        ^
0_0_38596084_29276\Main.java:90: 错误: 需要class, interface或enum
        b.b.z+=b.a.z;
        ^
0_0_38596084_29276\Main.java:91: 错误: 需要class, interface或enum
        angle=angle_cos(a,b);
        ^
0_0_38596084_29276\Main.java:92: 错误: 需要class, interface或enum
        if(angle <= -eps)
        ^
0_0_38596084_29276\Main.java:95: 错误: 需要class, interface或enum
            continue;
            ^
0_0_38596084_29276\Main.java:96: 错误: 需要class, interface或enum
        }
        ^
0_0_38596084_29276\Main.java:98: 错误: 需要class, interface或enum
        if(d <= r1)
        ^
0_0_38596084_29276\Main.java:100: 错误: 需要class, interface或enum
        else
        ^
0_0_38596084_29276\Main.java:102: 错误: 需要class, interface或enum
    }
    ^
0_0_38596084_29276\Main.java:104: 错误: 需要class, interface或enum
}
^
78 个错误


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 20:51:27, Gzip enabled