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_24341163_12957\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_24341163_12957\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_24341163_12957\Main.java:2: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_24341163_12957\Main.java:3: 错误: 非法字符: '#'
#include <math.h>
^
0_0_24341163_12957\Main.java:5: 错误: 需要class, interface或enum
double xx[10];
^
0_0_24341163_12957\Main.java:6: 错误: 需要class, interface或enum
double len(double x1,double y1,double x2,double y2)
^
0_0_24341163_12957\Main.java:9: 错误: 需要class, interface或enum
}
^
0_0_24341163_12957\Main.java:14: 错误: 需要class, interface或enum
        for(int i=1; i<9; i++)
                     ^
0_0_24341163_12957\Main.java:14: 错误: 需要class, interface或enum
        for(int i=1; i<9; i++)
                          ^
0_0_24341163_12957\Main.java:16: 错误: 需要class, interface或enum
        int c=0;
        ^
0_0_24341163_12957\Main.java:17: 错误: 需要class, interface或enum
        for(int i=0; i<9; i++)
        ^
0_0_24341163_12957\Main.java:17: 错误: 需要class, interface或enum
        for(int i=0; i<9; i++)
                     ^
0_0_24341163_12957\Main.java:17: 错误: 需要class, interface或enum
        for(int i=0; i<9; i++)
                          ^
0_0_24341163_12957\Main.java:19: 错误: 需要class, interface或enum
        if(c==0)
        ^
0_0_24341163_12957\Main.java:21: 错误: 需要class, interface或enum
   double A,B1,C,T,B2,delt1,delt2,T1,T2,T3,T4;
   ^
0_0_24341163_12957\Main.java:22: 错误: 需要class, interface或enum
   A=(xx[4]*xx[4]+xx[5]*xx[5]-xx[6]*xx[6]);
   ^
0_0_24341163_12957\Main.java:23: 错误: 需要class, interface或enum
   B1=2*xx[4]*((xx[0]-xx[2])+xx[4]*xx[8]/xx[7])+2*xx[5]*((xx[1]-xx[3])+xx[5]*xx[8]/xx[7])-2*xx[8]*xx[6];
   ^
0_0_24341163_12957\Main.java:24: 错误: 需要class, interface或enum
   C=((xx[0]-xx[2])+xx[4]*xx[8]/xx[7])*((xx[0]-xx[2])+xx[4]*xx[8]/xx[7])+((xx[1]-xx[3])+xx[5]*xx[8]/xx[7])*((xx[1]-xx[3])+xx[5]*xx[8]/xx[7])-xx[8]*xx[8];
   ^
0_0_24341163_12957\Main.java:25: 错误: 需要class, interface或enum
   B2=2*xx[4]*((xx[0]-xx[2])+xx[4]*xx[8]/xx[7])+2*xx[5]*((xx[1]-xx[3])+xx[5]*xx[8]/xx[7])+2*xx[8]*xx[6];
   ^
0_0_24341163_12957\Main.java:26: 错误: 需要class, interface或enum
   delt1=B1*B1-4*A*C;
   ^
0_0_24341163_12957\Main.java:27: 错误: 需要class, interface或enum
   delt2=B2*B2-4*A*C;
   ^
0_0_24341163_12957\Main.java:32: 错误: 需要class, interface或enum
   T1=(-B1+sqrt(delt1))/2/A;
   ^
0_0_24341163_12957\Main.java:33: 错误: 需要class, interface或enum
   T2=(-B1-sqrt(delt1))/2/A;
   ^
0_0_24341163_12957\Main.java:34: 错误: 需要class, interface或enum
   T3=(-B2+sqrt(delt2))/2/A;
   ^
0_0_24341163_12957\Main.java:35: 错误: 需要class, interface或enum
   T4=(-B2-sqrt(delt2))/2/A;
   ^
0_0_24341163_12957\Main.java:36: 错误: 需要class, interface或enum
      if(T1<0)
      ^
0_0_24341163_12957\Main.java:38: 错误: 需要class, interface或enum
       if(T2<0)
       ^
0_0_24341163_12957\Main.java:40: 错误: 需要class, interface或enum
          if(T3<0)
          ^
0_0_24341163_12957\Main.java:42: 错误: 需要class, interface或enum
          if(T4<0)
          ^
0_0_24341163_12957\Main.java:44: 错误: 需要class, interface或enum
       T=min(min(min(T1,T2),T3),T4);
       ^
0_0_24341163_12957\Main.java:46: 错误: 需要class, interface或enum
  printf("%.3lf %.3lf\n",xx[8],T+xx[8]/xx[7]);
  ^
0_0_24341163_12957\Main.java:47: 错误: 需要class, interface或enum
    }
    ^
0_0_24341163_12957\Main.java:49: 错误: 需要class, interface或enum
}
^
33 个错误


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:33:53, Gzip enabled