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_39374091_5764\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_39374091_5764\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_39374091_5764\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_39374091_5764\Main.java:3: 错误: 非法字符: '#'
#include <cmath>
^
0_0_39374091_5764\Main.java:4: 错误: 非法字符: '#'
#include <iostream>
^
0_0_39374091_5764\Main.java:5: 错误: 非法字符: '#'
#define INF 0x7ffffff
^
0_0_39374091_5764\Main.java:6: 错误: 非法字符: '#'
#define eps 1e-6
^
0_0_39374091_5764\Main.java:9: 错误: 需要class, interface或enum
struct Node
^
0_0_39374091_5764\Main.java:12: 错误: 需要class, interface或enum
}nodes[330];
^
0_0_39374091_5764\Main.java:14: 错误: 需要class, interface或enum
double GetDistance(Node a, Node b,double TIME){
^
0_0_39374091_5764\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_39374091_5764\Main.java:24: 错误: 需要class, interface或enum
double cal(double mid){
^
0_0_39374091_5764\Main.java:26: 错误: 需要class, interface或enum
    for(int i=0;i<N;i++){
    ^
0_0_39374091_5764\Main.java:26: 错误: 需要class, interface或enum
    for(int i=0;i<N;i++){
                ^
0_0_39374091_5764\Main.java:26: 错误: 需要class, interface或enum
    for(int i=0;i<N;i++){
                    ^
0_0_39374091_5764\Main.java:27: 错误: 需要class, interface或enum
        for(int j=i+1;j<N;j++){
                      ^
0_0_39374091_5764\Main.java:27: 错误: 需要class, interface或enum
        for(int j=i+1;j<N;j++){
                          ^
0_0_39374091_5764\Main.java:29: 错误: 需要class, interface或enum
        }
        ^
0_0_39374091_5764\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_39374091_5764\Main.java:37: 错误: 需要class, interface或enum
    cin>>TotalNumber;
    ^
0_0_39374091_5764\Main.java:38: 错误: 需要class, interface或enum
    while(TotalNumber--)
    ^
0_0_39374091_5764\Main.java:41: 错误: 需要class, interface或enum
        cin>>N;
        ^
0_0_39374091_5764\Main.java:42: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++){scanf("%lf%lf%lf%lf",&nodes[i].x,&nodes[i].y,&nodes[i].vx,&nodes[i].vy);}
        ^
0_0_39374091_5764\Main.java:42: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++){scanf("%lf%lf%lf%lf",&nodes[i].x,&nodes[i].y,&nodes[i].vx,&nodes[i].vy);}
                    ^
0_0_39374091_5764\Main.java:42: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++){scanf("%lf%lf%lf%lf",&nodes[i].x,&nodes[i].y,&nodes[i].vx,&nodes[i].vy);}
                        ^
0_0_39374091_5764\Main.java:42: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++){scanf("%lf%lf%lf%lf",&nodes[i].x,&nodes[i].y,&nodes[i].vx,&nodes[i].vy);}
                                                                                                     ^
0_0_39374091_5764\Main.java:44: 错误: 需要class, interface或enum
        while((r-l)>eps){
        ^
0_0_39374091_5764\Main.java:46: 错误: 需要class, interface或enum
            double mid2 = (r+mid1)/2;
            ^
0_0_39374091_5764\Main.java:47: 错误: 需要class, interface或enum
            if(cal(mid1) >= cal(mid2)) l = mid1+eps;
            ^
0_0_39374091_5764\Main.java:48: 错误: 需要class, interface或enum
            else r = mid2-eps;
            ^
0_0_39374091_5764\Main.java:49: 错误: 需要class, interface或enum
        }
        ^
0_0_39374091_5764\Main.java:51: 错误: 需要class, interface或enum
        printf("Case #%d: %.2f %.2f\n",CasesNumber++,Time,Distance);
        ^
0_0_39374091_5764\Main.java:52: 错误: 需要class, interface或enum
    }
    ^
0_0_39374091_5764\Main.java:54: 错误: 需要class, interface或enum
}
^
34 个错误


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