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_27087864_12658\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_27087864_12658\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_27087864_12658\Main.java:2: 错误: 非法字符: '#'
#include <cmath>
^
0_0_27087864_12658\Main.java:7: 错误: 需要class, interface或enum
else if (b <= a && b <= c) return b;
^
0_0_27087864_12658\Main.java:8: 错误: 需要class, interface或enum
else return c;
^
0_0_27087864_12658\Main.java:9: 错误: 需要class, interface或enum
}
^
0_0_27087864_12658\Main.java:14: 错误: 需要class, interface或enum
else if (b >= a && b >= c) return b;
^
0_0_27087864_12658\Main.java:15: 错误: 需要class, interface或enum
else return c;
^
0_0_27087864_12658\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_27087864_12658\Main.java:22: 错误: 需要class, interface或enum
double R;
^
0_0_27087864_12658\Main.java:23: 错误: 需要class, interface或enum
double t1[11][2], t2[708][2], t3[719][2],t; // 记录时间区间数组
^
0_0_27087864_12658\Main.java:24: 错误: 需要class, interface或enum
int i, j, k;
^
0_0_27087864_12658\Main.java:25: 错误: 需要class, interface或enum
double vs = 6, vm = 0.1, vh = 1.0/120.0; // 移动速度
^
0_0_27087864_12658\Main.java:26: 错误: 需要class, interface或enum
double ts, te;
^
0_0_27087864_12658\Main.java:28: 错误: 需要class, interface或enum
while (scanf("%lf", &D)!=EOF)
^
0_0_27087864_12658\Main.java:33: 错误: 需要class, interface或enum
t = 0;
^
0_0_27087864_12658\Main.java:34: 错误: 需要class, interface或enum
for (i = 0; i < 11; ++i) // 分针相对时针符合的时间区间
^
0_0_27087864_12658\Main.java:34: 错误: 需要class, interface或enum
for (i = 0; i < 11; ++i) // 分针相对时针符合的时间区间
            ^
0_0_27087864_12658\Main.java:34: 错误: 需要class, interface或enum
for (i = 0; i < 11; ++i) // 分针相对时针符合的时间区间
                    ^
0_0_27087864_12658\Main.java:37: 错误: 需要class, interface或enum
t1[i][1] = (360*(i+1)-D)/(vm-vh);
^
0_0_27087864_12658\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_27087864_12658\Main.java:39: 错误: 需要class, interface或enum
for (j = 0; j < 708; ++j) // 秒针相对分针符合的时间区间
            ^
0_0_27087864_12658\Main.java:39: 错误: 需要class, interface或enum
for (j = 0; j < 708; ++j) // 秒针相对分针符合的时间区间
                     ^
0_0_27087864_12658\Main.java:42: 错误: 需要class, interface或enum
t2[j][1] = (360*(j+1)-D)/(vs-vm);
^
0_0_27087864_12658\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_27087864_12658\Main.java:44: 错误: 需要class, interface或enum
for (k = 0; k < 719; ++k) // 秒针相对时针符合的时间区间
            ^
0_0_27087864_12658\Main.java:44: 错误: 需要class, interface或enum
for (k = 0; k < 719; ++k) // 秒针相对时针符合的时间区间
                     ^
0_0_27087864_12658\Main.java:47: 错误: 需要class, interface或enum
t3[k][1] = (360*(k+1)-D)/(vs-vh);
^
0_0_27087864_12658\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_27087864_12658\Main.java:51: 错误: 需要class, interface或enum
while (true) // 计算重叠的时间区间
^
0_0_27087864_12658\Main.java:55: 错误: 需要class, interface或enum
ts = max(t1[i][0],t2[j][0],t3[k][0]);
^
0_0_27087864_12658\Main.java:56: 错误: 需要class, interface或enum
te = min(t1[i][1],t2[j][1],t3[k][1]);
^
0_0_27087864_12658\Main.java:57: 错误: 需要class, interface或enum
if (te>ts)
^
0_0_27087864_12658\Main.java:60: 错误: 需要class, interface或enum
if (t1[i][1]<=te&&i<11) ++i;
^
0_0_27087864_12658\Main.java:61: 错误: 需要class, interface或enum
if (t2[j][1]<=te&&j<708) ++j;
^
0_0_27087864_12658\Main.java:62: 错误: 需要class, interface或enum
if (t3[k][1]<=te&&k<719) ++k;
^
0_0_27087864_12658\Main.java:63: 错误: 需要class, interface或enum
}
^
0_0_27087864_12658\Main.java:67: 错误: 需要class, interface或enum
if (t2[j][1]<=ts&&j<708) ++j;
^
0_0_27087864_12658\Main.java:68: 错误: 需要class, interface或enum
if (t3[k][1]<=ts&&k<719) ++k;
^
0_0_27087864_12658\Main.java:69: 错误: 需要class, interface或enum
}
^
0_0_27087864_12658\Main.java:73: 错误: 需要class, interface或enum
printf("%.3f/n", R);
^
0_0_27087864_12658\Main.java:74: 错误: 需要class, interface或enum
}
^
0_0_27087864_12658\Main.java:77: 错误: 需要class, interface或enum
}
^
43 个错误


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 09:22:08, Gzip enabled