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_33365156_156\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_33365156_156\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_33365156_156\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_33365156_156\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_33365156_156\Main.java:4: 错误: 非法字符: '#'
#include <cmath>
^
0_0_33365156_156\Main.java:10: 错误: 需要class, interface或enum
const int maxn = 1111;
^
0_0_33365156_156\Main.java:11: 错误: 需要class, interface或enum
const double PI = 3.14159265358979323846;
^
0_0_33365156_156\Main.java:12: 错误: 需要class, interface或enum
const double oo = (1 << 30) * 1.0;
^
0_0_33365156_156\Main.java:13: 错误: 需要class, interface或enum
char kind[maxn];
^
0_0_33365156_156\Main.java:14: 错误: 需要class, interface或enum
double len[maxn];
^
0_0_33365156_156\Main.java:15: 错误: 需要class, interface或enum
double dp[maxn][12];
^
0_0_33365156_156\Main.java:16: 错误: 需要class, interface或enum
int n, m;
^
0_0_33365156_156\Main.java:20: 错误: 需要class, interface或enum
double calc(int a, int b, int c)
^
0_0_33365156_156\Main.java:22: 错误: 需要class, interface或enum
    if (kind[a] == 'R' || kind[a] == 'L')
       ^
0_0_33365156_156\Main.java:22: 错误: 需要class, interface或enum
    if (kind[a] == 'R' || kind[a] == 'L')
              ^
0_0_33365156_156\Main.java:23: 错误: 需要class, interface或enum
    {
       ^
0_0_33365156_156\Main.java:23: 错误: 需要class, interface或enum
    {
              ^
0_0_33365156_156\Main.java:24: 错误: 需要class, interface或enum
        if (b == c)
       ^
0_0_33365156_156\Main.java:24: 错误: 需要class, interface或enum
        if (b == c)
              ^
0_0_33365156_156\Main.java:24: 错误: 需要class, interface或enum
        if (b == c)
                     ^
0_0_33365156_156\Main.java:24: 错误: 需要class, interface或enum
        if (b == c)
                            ^
0_0_33365156_156\Main.java:25: 错误: 需要class, interface或enum
        {
       ^
0_0_33365156_156\Main.java:25: 错误: 需要class, interface或enum
        {
              ^
0_0_33365156_156\Main.java:25: 错误: 需要class, interface或enum
        {
                     ^
0_0_33365156_156\Main.java:25: 错误: 需要class, interface或enum
        {
                            ^
0_0_33365156_156\Main.java:26: 错误: 需要class, interface或enum
            double r;
       ^
0_0_33365156_156\Main.java:26: 错误: 需要class, interface或enum
            double r;
              ^
0_0_33365156_156\Main.java:26: 错误: 需要class, interface或enum
            double r;
                     ^
0_0_33365156_156\Main.java:26: 错误: 需要class, interface或enum
            double r;
                            ^
0_0_33365156_156\Main.java:26: 错误: 需要class, interface或enum
            double r;
                                   ^
0_0_33365156_156\Main.java:26: 错误: 需要class, interface或enum
            double r;
                                          ^
0_0_33365156_156\Main.java:27: 错误: 需要class, interface或enum
            if (kind[a] == 'R') // 这里要根据不同的弯道确定半径
^
0_0_33365156_156\Main.java:27: 错误: 需要class, interface或enum
            if (kind[a] == 'R') // 这里要根据不同的弯道确定半径
       ^
0_0_33365156_156\Main.java:27: 错误: 需要class, interface或enum
            if (kind[a] == 'R') // 这里要根据不同的弯道确定半径
              ^
0_0_33365156_156\Main.java:27: 错误: 需要class, interface或enum
            if (kind[a] == 'R') // 这里要根据不同的弯道确定半径
                     ^
0_0_33365156_156\Main.java:27: 错误: 需要class, interface或enum
            if (kind[a] == 'R') // 这里要根据不同的弯道确定半径
                            ^
0_0_33365156_156\Main.java:27: 错误: 需要class, interface或enum
            if (kind[a] == 'R') // 这里要根据不同的弯道确定半径
                                   ^
0_0_33365156_156\Main.java:27: 错误: 需要class, interface或enum
            if (kind[a] == 'R') // 这里要根据不同的弯道确定半径
                                          ^
0_0_33365156_156\Main.java:28: 错误: 需要class, interface或enum
                r = (b - 1) * 10.0 + 5 + len[a];
       ^
0_0_33365156_156\Main.java:28: 错误: 需要class, interface或enum
                r = (b - 1) * 10.0 + 5 + len[a];
              ^
0_0_33365156_156\Main.java:28: 错误: 需要class, interface或enum
                r = (b - 1) * 10.0 + 5 + len[a];
                     ^
0_0_33365156_156\Main.java:28: 错误: 需要class, interface或enum
                r = (b - 1) * 10.0 + 5 + len[a];
                            ^
0_0_33365156_156\Main.java:28: 错误: 需要class, interface或enum
                r = (b - 1) * 10.0 + 5 + len[a];
                                   ^
0_0_33365156_156\Main.java:28: 错误: 需要class, interface或enum
                r = (b - 1) * 10.0 + 5 + len[a];
                                          ^
0_0_33365156_156\Main.java:28: 错误: 需要class, interface或enum
                r = (b - 1) * 10.0 + 5 + len[a];
                                                 ^
0_0_33365156_156\Main.java:28: 错误: 需要class, interface或enum
                r = (b - 1) * 10.0 + 5 + len[a];
                                                        ^
0_0_33365156_156\Main.java:29: 错误: 需要class, interface或enum
            else r = (m - b) * 10.0 + 5 + len[a];
^
0_0_33365156_156\Main.java:29: 错误: 需要class, interface或enum
            else r = (m - b) * 10.0 + 5 + len[a];
       ^
0_0_33365156_156\Main.java:29: 错误: 需要class, interface或enum
            else r = (m - b) * 10.0 + 5 + len[a];
              ^
0_0_33365156_156\Main.java:29: 错误: 需要class, interface或enum
            else r = (m - b) * 10.0 + 5 + len[a];
                     ^
0_0_33365156_156\Main.java:29: 错误: 需要class, interface或enum
            else r = (m - b) * 10.0 + 5 + len[a];
                            ^
0_0_33365156_156\Main.java:29: 错误: 需要class, interface或enum
            else r = (m - b) * 10.0 + 5 + len[a];
                                   ^
0_0_33365156_156\Main.java:29: 错误: 需要class, interface或enum
            else r = (m - b) * 10.0 + 5 + len[a];
                                          ^
0_0_33365156_156\Main.java:30: 错误: 需要class, interface或enum
            return (PI / 2.0 * r);
^
0_0_33365156_156\Main.java:30: 错误: 需要class, interface或enum
            return (PI / 2.0 * r);
       ^
0_0_33365156_156\Main.java:30: 错误: 需要class, interface或enum
            return (PI / 2.0 * r);
              ^
0_0_33365156_156\Main.java:30: 错误: 需要class, interface或enum
            return (PI / 2.0 * r);
                     ^
0_0_33365156_156\Main.java:30: 错误: 需要class, interface或enum
            return (PI / 2.0 * r);
                            ^
0_0_33365156_156\Main.java:30: 错误: 需要class, interface或enum
            return (PI / 2.0 * r);
                                   ^
0_0_33365156_156\Main.java:30: 错误: 需要class, interface或enum
            return (PI / 2.0 * r);
                                          ^
0_0_33365156_156\Main.java:31: 错误: 需要class, interface或enum
        }
^
0_0_33365156_156\Main.java:31: 错误: 需要class, interface或enum
        }
       ^
0_0_33365156_156\Main.java:31: 错误: 需要class, interface或enum
        }
              ^
0_0_33365156_156\Main.java:31: 错误: 需要class, interface或enum
        }
                     ^
0_0_33365156_156\Main.java:31: 错误: 需要class, interface或enum
        }
                            ^
0_0_33365156_156\Main.java:32: 错误: 需要class, interface或enum
        else return oo; // 不可达,返回无穷大
       ^
0_0_33365156_156\Main.java:32: 错误: 需要class, interface或enum
        else return oo; // 不可达,返回无穷大
              ^
0_0_33365156_156\Main.java:32: 错误: 需要class, interface或enum
        else return oo; // 不可达,返回无穷大
                     ^
0_0_33365156_156\Main.java:32: 错误: 需要class, interface或enum
        else return oo; // 不可达,返回无穷大
                        


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 02:50:14, Gzip enabled