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_38306506_14988\Main.java:6: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_38306506_14988\Main.java:6: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_38306506_14988\Main.java:7: 错误: 非法字符: '#'
#include <math.h>
^
0_0_38306506_14988\Main.java:8: 错误: 非法字符: '#'
#include <iostream>
^
0_0_38306506_14988\Main.java:9: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_38306506_14988\Main.java:11: 错误: 非法字符: '#'
#define V_SEC 6.0       //秒针角速度
^
0_0_38306506_14988\Main.java:12: 错误: 非法字符: '#'
#define V_MIN 0.1       //分针角速度
^
0_0_38306506_14988\Main.java:13: 错误: 非法字符: '#'
#define V_HOU 1.0/120   //时针角速度
^
0_0_38306506_14988\Main.java:15: 错误: 非法字符: '#'
#define A_SEC s*6                   //秒针角度
^
0_0_38306506_14988\Main.java:16: 错误: 非法字符: '#'
#define A_MIN m*6+s*0.1             //分针角度
^
0_0_38306506_14988\Main.java:17: 错误: 非法字符: '#'
#define A_HOU h*30+m*0.5+s/120.0    //时针角度
^
0_0_38306506_14988\Main.java:20: 错误: 需要class, interface或enum
struct interval{    //区间
^
0_0_38306506_14988\Main.java:22: 错误: 需要class, interface或enum
    double r;       //right
    ^
0_0_38306506_14988\Main.java:23: 错误: 需要class, interface或enum
};
^
0_0_38306506_14988\Main.java:24: 错误: 需要class, interface或enum
double Angle;       //角度
^
0_0_38306506_14988\Main.java:25: 错误: 需要class, interface或enum
int s=0;            //秒数
^
0_0_38306506_14988\Main.java:26: 错误: 需要class, interface或enum
interval solve(double v,double a){//解方程
^
0_0_38306506_14988\Main.java:29: 错误: 需要class, interface或enum
    if(v>0){
    ^
0_0_38306506_14988\Main.java:31: 错误: 需要class, interface或enum
        p.r=(360-Angle-a)/v;
        ^
0_0_38306506_14988\Main.java:32: 错误: 需要class, interface或enum
    }
    ^
0_0_38306506_14988\Main.java:35: 错误: 需要class, interface或enum
        p.r=(Angle-a)/v;
        ^
0_0_38306506_14988\Main.java:36: 错误: 需要class, interface或enum
    }
    ^
0_0_38306506_14988\Main.java:38: 错误: 需要class, interface或enum
    if(p.r>60)p.r=60;
    ^
0_0_38306506_14988\Main.java:39: 错误: 需要class, interface或enum
    if(p.l>=p.r)p.l=p.r=0;
    ^
0_0_38306506_14988\Main.java:40: 错误: 需要class, interface或enum
    return p;
    ^
0_0_38306506_14988\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_38306506_14988\Main.java:44: 错误: 需要class, interface或enum
    p.l=max(a.l,b.l);
    ^
0_0_38306506_14988\Main.java:45: 错误: 需要class, interface或enum
    p.r=min(a.r,b.r);
    ^
0_0_38306506_14988\Main.java:46: 错误: 需要class, interface或enum
    if(p.l>=p.r)p.l=p.r=0;
    ^
0_0_38306506_14988\Main.java:47: 错误: 需要class, interface或enum
    return p;
    ^
0_0_38306506_14988\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_38306506_14988\Main.java:59: 错误: 需要class, interface或enum
    double a_diff;//角度差
    ^
0_0_38306506_14988\Main.java:60: 错误: 需要class, interface或enum
    interval s0[3][2];
    ^
0_0_38306506_14988\Main.java:61: 错误: 需要class, interface或enum
    interval s1;
    ^
0_0_38306506_14988\Main.java:63: 错误: 需要class, interface或enum
    v_diff=V_HOU-V_MIN;
    ^
0_0_38306506_14988\Main.java:64: 错误: 需要class, interface或enum
    a_diff=A_HOU-A_MIN;//时针分针夹角
    ^
0_0_38306506_14988\Main.java:65: 错误: 需要class, interface或enum
    s0[0][0]=solve( v_diff, a_diff);
    ^
0_0_38306506_14988\Main.java:66: 错误: 需要class, interface或enum
    s0[0][1]=solve(-v_diff,-a_diff);
    ^
0_0_38306506_14988\Main.java:68: 错误: 需要class, interface或enum
    v_diff=V_HOU-V_SEC;
    ^
0_0_38306506_14988\Main.java:69: 错误: 需要class, interface或enum
    a_diff=A_HOU-A_SEC;//时针秒针夹角
    ^
0_0_38306506_14988\Main.java:70: 错误: 需要class, interface或enum
    s0[1][0]=solve( v_diff, a_diff);
    ^
0_0_38306506_14988\Main.java:71: 错误: 需要class, interface或enum
    s0[1][1]=solve(-v_diff,-a_diff);
    ^
0_0_38306506_14988\Main.java:73: 错误: 需要class, interface或enum
    v_diff=V_MIN-V_SEC;
    ^
0_0_38306506_14988\Main.java:74: 错误: 需要class, interface或enum
    a_diff=A_MIN-A_SEC;//分针秒针夹角
    ^
0_0_38306506_14988\Main.java:75: 错误: 需要class, interface或enum
    s0[2][0]=solve( v_diff, a_diff);
    ^
0_0_38306506_14988\Main.java:76: 错误: 需要class, interface或enum
    s0[2][1]=solve(-v_diff,-a_diff);
    ^
0_0_38306506_14988\Main.java:82: 错误: 需要class, interface或enum
    double res=0;
    ^
0_0_38306506_14988\Main.java:83: 错误: 需要class, interface或enum
    for(int i=0;i<2;i++)
    ^
0_0_38306506_14988\Main.java:83: 错误: 需要class, interface或enum
    for(int i=0;i<2;i++)
                ^
0_0_38306506_14988\Main.java:83: 错误: 需要class, interface或enum
    for(int i=0;i<2;i++)
                    ^
0_0_38306506_14988\Main.java:84: 错误: 需要class, interface或enum
    for(int j=0;j<2;j++)
                ^
0_0_38306506_14988\Main.java:84: 错误: 需要class, interface或enum
    for(int j=0;j<2;j++)
                    ^
0_0_38306506_14988\Main.java:85: 错误: 需要class, interface或enum
    for(int k=0;k<2;k++){
                ^
0_0_38306506_14988\Main.java:85: 错误: 需要class, interface或enum
    for(int k=0;k<2;k++){
                    ^
0_0_38306506_14988\Main.java:87: 错误: 需要class, interface或enum
        res+=s1.r-s1.l;
        ^
0_0_38306506_14988\Main.java:88: 错误: 需要class, interface或enum
    }
    ^
0_0_38306506_14988\Main.java:90: 错误: 需要class, interface或enum
}
^
0_0_38306506_14988\Main.java:93: 错误: 需要class, interface或enum
    while(scanf("%lf",&Angle)){
    ^
0_0_38306506_14988\Main.java:95: 错误: 需要class, interface或enum
        double res=0;
        ^
0_0_38306506_14988\Main.java:96: 错误: 需要class, interface或enum
        for(h=0;h<12;h++)
        ^
0_0_38306506_14988\Main.java:96: 错误: 需要class, interface或enum
        for(h=0;h<12;h++)
                ^
0_0_38306506_14988\Main.java:96: 错误: 需要class, interface或enum
        for(h=0;h<12;h++)
                     ^
0_0_38306506_14988\Main.java:97: 错误: 需要class, interface或enum
            for(m=0;m<60;m++)
                    ^
0_0_38306506_14988\Main.java:97: 错误: 需要class, interface或enum
            for(m=0;m<60;m++)
                         ^
0_0_38306506_14988\Main.java:99: 错误: 需要class, interface或enum
        printf("%.3lf\n",res*100.0/43200);
        ^
0_0_38306506_14988\Main.java:100: 错误: 需要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-20 03:31:09, Gzip enabled