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_17586354_26387\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_17586354_26387\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_17586354_26387\Main.java:2: 错误: 非法字符: '#'
#include<iomanip>
^
0_0_17586354_26387\Main.java:6: 错误: 需要class, interface或enum
const double hm=11.0/120,hs=719.0/120,sm=59.0/10;    //相对角速度
^
0_0_17586354_26387\Main.java:9: 错误: 需要class, interface或enum
const double T_hm=43200.0/11,T_hs=43200.0/719,T_sm=3600.0/59;   //相对周期
^
0_0_17586354_26387\Main.java:11: 错误: 需要class, interface或enum
inline double min(double a,double b,double c)
^
0_0_17586354_26387\Main.java:15: 错误: 需要class, interface或enum
    return (c>temp)?temp:c;
    ^
0_0_17586354_26387\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_17586354_26387\Main.java:22: 错误: 需要class, interface或enum
    return (c>temp)?c:temp;
    ^
0_0_17586354_26387\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_17586354_26387\Main.java:28: 错误: 需要class, interface或enum
    double x[3],y[3];
    ^
0_0_17586354_26387\Main.java:29: 错误: 需要class, interface或enum
    double m[3],n[3];
    ^
0_0_17586354_26387\Main.java:30: 错误: 需要class, interface或enum
    double end,begin,sum;
    ^
0_0_17586354_26387\Main.java:32: 错误: 需要class, interface或enum
    while(cin>>degree , degree!=-1)
    ^
0_0_17586354_26387\Main.java:36: 错误: 需要class, interface或enum
        x[1]=degree/hs;
        ^
0_0_17586354_26387\Main.java:37: 错误: 需要class, interface或enum
        x[2]=degree/sm;
        ^
0_0_17586354_26387\Main.java:39: 错误: 需要class, interface或enum
        y[0]=(360-degree)/hm;
        ^
0_0_17586354_26387\Main.java:40: 错误: 需要class, interface或enum
        y[1]=(360-degree)/hs;
        ^
0_0_17586354_26387\Main.java:41: 错误: 需要class, interface或enum
        y[2]=(360-degree)/sm;
        ^
0_0_17586354_26387\Main.java:43: 错误: 需要class, interface或enum
        sum=0.0;
        ^
0_0_17586354_26387\Main.java:45: 错误: 需要class, interface或enum
        for(m[0]=x[0],n[0]=y[0];n[0]<=43200.000001;m[0]+=T_hm,n[0]+=T_hm)
        ^
0_0_17586354_26387\Main.java:45: 错误: 需要class, interface或enum
        for(m[0]=x[0],n[0]=y[0];n[0]<=43200.000001;m[0]+=T_hm,n[0]+=T_hm)
                                ^
0_0_17586354_26387\Main.java:45: 错误: 需要class, interface或enum
        for(m[0]=x[0],n[0]=y[0];n[0]<=43200.000001;m[0]+=T_hm,n[0]+=T_hm)
                                                   ^
0_0_17586354_26387\Main.java:47: 错误: 需要class, interface或enum
            for(m[1]=x[1],n[1]=y[1];n[1]<=43200.000001;m[1]+=T_hs,n[1]+=T_hs)
                                    ^
0_0_17586354_26387\Main.java:47: 错误: 需要class, interface或enum
            for(m[1]=x[1],n[1]=y[1];n[1]<=43200.000001;m[1]+=T_hs,n[1]+=T_hs)
                                                       ^
0_0_17586354_26387\Main.java:51: 错误: 需要class, interface或enum
                if(m[0]>n[1]) // 这是为了提前断定是否有交集
                ^
0_0_17586354_26387\Main.java:54: 错误: 需要class, interface或enum
                for(m[2]=x[2],n[2]=y[2];n[2]<=43200.000001;m[2]+=T_sm,n[2]+=T_sm)
                ^
0_0_17586354_26387\Main.java:54: 错误: 需要class, interface或enum
                for(m[2]=x[2],n[2]=y[2];n[2]<=43200.000001;m[2]+=T_sm,n[2]+=T_sm)
                                        ^
0_0_17586354_26387\Main.java:54: 错误: 需要class, interface或enum
                for(m[2]=x[2],n[2]=y[2];n[2]<=43200.000001;m[2]+=T_sm,n[2]+=T_sm)
                                                           ^
0_0_17586354_26387\Main.java:58: 错误: 需要class, interface或enum
                    if(m[0]>n[2] || m[1]>n[2])
                    ^
0_0_17586354_26387\Main.java:61: 错误: 需要class, interface或enum
                    begin=max(m[0],m[1],m[2]);// 取它们的交集 
                    ^
0_0_17586354_26387\Main.java:62: 错误: 需要class, interface或enum
                    end=min(n[0],n[1],n[2]);
                    ^
0_0_17586354_26387\Main.java:64: 错误: 需要class, interface或enum
                    if(end>begin)
                    ^
0_0_17586354_26387\Main.java:66: 错误: 需要class, interface或enum
                }
                ^
0_0_17586354_26387\Main.java:71: 错误: 需要class, interface或enum
    }
    ^
0_0_17586354_26387\Main.java:74: 错误: 需要class, interface或enum
}
^
36 个错误


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-16 16:31:19, Gzip enabled