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_24613642_29022\Main.java:1: 错误: 非法字符: '#'
#include <math.h>
^
0_0_24613642_29022\Main.java:1: 错误: 需要class, interface或enum
#include <math.h>
         ^
0_0_24613642_29022\Main.java:2: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_24613642_29022\Main.java:3: 错误: 非法字符: '#'
#define eps (1e-8)
^
0_0_24613642_29022\Main.java:4: 错误: 非法字符: '#'
#define pi 3.1415926536
^
0_0_24613642_29022\Main.java:7: 错误: 需要class, interface或enum
} b, g[800];
^
0_0_24613642_29022\Main.java:8: 错误: 需要class, interface或enum
double x, y, l[1005], r[1005];
^
0_0_24613642_29022\Main.java:9: 错误: 需要class, interface或enum
void adjust(rectangle & r) {
^
0_0_24613642_29022\Main.java:11: 错误: 需要class, interface或enum
    if (r.x1 - r.x2 > eps) {
    ^
0_0_24613642_29022\Main.java:13: 错误: 需要class, interface或enum
        r.x1 = r.x2;
        ^
0_0_24613642_29022\Main.java:14: 错误: 需要class, interface或enum
        r.x2 = t;
        ^
0_0_24613642_29022\Main.java:15: 错误: 需要class, interface或enum
    }
    ^
0_0_24613642_29022\Main.java:18: 错误: 需要class, interface或enum
        r.y1 = r.y2;
        ^
0_0_24613642_29022\Main.java:19: 错误: 需要class, interface或enum
        r.y2 = t;
        ^
0_0_24613642_29022\Main.java:20: 错误: 需要class, interface或enum
    }
    ^
0_0_24613642_29022\Main.java:25: 错误: 需要class, interface或enum
    }
    ^
0_0_24613642_29022\Main.java:29: 错误: 需要class, interface或enum
        } else if (y - a.y1 < eps) {
        ^
0_0_24613642_29022\Main.java:31: 错误: 需要class, interface或enum
        } else {
        ^
0_0_24613642_29022\Main.java:33: 错误: 需要class, interface或enum
        }
        ^
0_0_24613642_29022\Main.java:37: 错误: 需要class, interface或enum
        } else if (y - a.y1 < eps) {
        ^
0_0_24613642_29022\Main.java:39: 错误: 需要class, interface或enum
        } else {
        ^
0_0_24613642_29022\Main.java:41: 错误: 需要class, interface或enum
        }
        ^
0_0_24613642_29022\Main.java:45: 错误: 需要class, interface或enum
        } else {
        ^
0_0_24613642_29022\Main.java:47: 错误: 需要class, interface或enum
        }
        ^
0_0_24613642_29022\Main.java:52: 错误: 需要class, interface或enum
    scanf("%d", &T);
    ^
0_0_24613642_29022\Main.java:53: 错误: 需要class, interface或enum
    while (T--) {
    ^
0_0_24613642_29022\Main.java:55: 错误: 需要class, interface或enum
        adjust(b);
        ^
0_0_24613642_29022\Main.java:56: 错误: 需要class, interface或enum
        scanf("%lf%lf%d", &x, &y, &n);
        ^
0_0_24613642_29022\Main.java:57: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; i++) {
        ^
0_0_24613642_29022\Main.java:57: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; i++) {
                        ^
0_0_24613642_29022\Main.java:57: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; i++) {
                                ^
0_0_24613642_29022\Main.java:59: 错误: 需要class, interface或enum
            adjust(g[i]);
            ^
0_0_24613642_29022\Main.java:60: 错误: 需要class, interface或enum
            g[i + n].x1 = g[i].x1;
            ^
0_0_24613642_29022\Main.java:61: 错误: 需要class, interface或enum
            g[i + n].y1 = 2 * b.y1 - g[i].y1;
            ^
0_0_24613642_29022\Main.java:62: 错误: 需要class, interface或enum
            g[i + n].x2 = g[i].x2;
            ^
0_0_24613642_29022\Main.java:63: 错误: 需要class, interface或enum
            g[i + n].y2 = 2 * b.y1 - g[i].y2;
            ^
0_0_24613642_29022\Main.java:64: 错误: 需要class, interface或enum
            adjust(g[i + n]);
            ^
0_0_24613642_29022\Main.java:65: 错误: 需要class, interface或enum
            g[i + 2 * n].x1 = g[i].x1;
            ^
0_0_24613642_29022\Main.java:66: 错误: 需要class, interface或enum
            g[i + 2 * n].y1 = 2 * b.y2 - g[i].y1;
            ^
0_0_24613642_29022\Main.java:67: 错误: 需要class, interface或enum
            g[i + 2 * n].x2 = g[i].x2;
            ^
0_0_24613642_29022\Main.java:68: 错误: 需要class, interface或enum
            g[i + 2 * n].y2 = 2 * b.y2 - g[i].y2;
            ^
0_0_24613642_29022\Main.java:69: 错误: 需要class, interface或enum
            adjust(g[i + 2 * n]);
            ^
0_0_24613642_29022\Main.java:70: 错误: 需要class, interface或enum
            g[i + 3 * n].x1 = 2 * b.x1 - g[i].x1;
            ^
0_0_24613642_29022\Main.java:71: 错误: 需要class, interface或enum
            g[i + 3 * n].y1 = g[i].y1;
            ^
0_0_24613642_29022\Main.java:72: 错误: 需要class, interface或enum
            g[i + 3 * n].x2 = 2 * b.x1 - g[i].x2;
            ^
0_0_24613642_29022\Main.java:73: 错误: 需要class, interface或enum
            g[i + 3 * n].y2 = g[i].y2;
            ^
0_0_24613642_29022\Main.java:74: 错误: 需要class, interface或enum
            adjust(g[i + 3 * n]);
            ^
0_0_24613642_29022\Main.java:75: 错误: 需要class, interface或enum
            g[i + 4 * n].x1 = 2 * b.x2 - g[i].x1;
            ^
0_0_24613642_29022\Main.java:76: 错误: 需要class, interface或enum
            g[i + 4 * n].y1 = g[i].y1;
            ^
0_0_24613642_29022\Main.java:77: 错误: 需要class, interface或enum
            g[i + 4 * n].x2 = 2 * b.x2 - g[i].x2;
            ^
0_0_24613642_29022\Main.java:78: 错误: 需要class, interface或enum
            g[i + 4 * n].y2 = g[i].y2;
            ^
0_0_24613642_29022\Main.java:79: 错误: 需要class, interface或enum
            adjust(g[i + 4 * n]);
            ^
0_0_24613642_29022\Main.java:80: 错误: 需要class, interface或enum
        }
        ^
0_0_24613642_29022\Main.java:82: 错误: 需要class, interface或enum
        int m = 0;
        ^
0_0_24613642_29022\Main.java:83: 错误: 需要class, interface或enum
        bool flag = false;
        ^
0_0_24613642_29022\Main.java:84: 错误: 需要class, interface或enum
        double a1, a2;
        ^
0_0_24613642_29022\Main.java:85: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; i++) {
        ^
0_0_24613642_29022\Main.java:85: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; i++) {
                        ^
0_0_24613642_29022\Main.java:85: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; i++) {
                                ^
0_0_24613642_29022\Main.java:87: 错误: 需要class, interface或enum
            if (tmp == 0) {
            ^
0_0_24613642_29022\Main.java:89: 错误: 需要class, interface或enum
                break;
                ^
0_0_24613642_29022\Main.java:90: 错误: 需要class, interface或enum
            } else if (tmp == 1) {
            ^
0_0_24613642_29022\Main.java:92: 错误: 需要class, interface或enum
                a1 = atan2(y - g[i].y2, x - g[i].x1);
                ^
0_0_24613642_29022\Main.java:93: 错误: 需要class, interface或enum
                a2 = atan2(y - g[i].y2, g[i].x2 - x);
                ^
0_0_24613642_29022\Main.java:94: 错误: 需要class, interface或enum
                l[m] = pi + a1;
                ^
0_0_24613642_29022\Main.java:95: 错误: 需要class, interface或enum
                r[m] = 2 * pi - a2;
                ^
0_0_24613642_29022\Main.java:96: 错误: 需要class, interface或enum
            } else if (tmp == 2) {
            ^
0_0_24613642_29022\Main.java:98: 错误: 需要class, interface或enum
                a1 = atan2(y - g[i].y2, x - g[i].x1);
                ^
0_0_24613642_29022\Main.java:99: 错误: 需要class, interface或enum
                a2 = atan2(x - g[i].x2, y - g[i].y1);
                ^
0_0_24613642_29022\Main.java:100: 错误: 需要class, interface或enum
                l[m] = pi + a1;
                ^
0_0_24613642_29022\Main.java:101: 错误: 需要class, interface或enum
                r[m] = 1.5 * pi - a2;
                ^
0_0_24613642_29022\Main.java:102: 错误: 需要class, interface或enum
            } else if (tmp == 3) {
            ^
0_0_24613642_29022\Main.java:104: 错误: 需要class, interface或enum
                a1 = atan2(x - g[i].x2, g[i].y2 - y);
                ^
0_0_24613642_29022\Main.java:105: 错误: 需要class, interface或enum
                a2 = atan2(x - g[i].x2, y - g[i].y1);
                ^
0_0_24613642_29022\Main.java:106: 错误: 需要class, interface或enum
                l[m] = 0.5 * pi + a1;
                ^
0_0_24613642_29022\Main.java:107: 错误: 需要class, interface或enum
                r[m] = 1.5 * pi - a2;
                ^
0_0_24613642_29022\Main.java:108: 错误: 需要class, interface或enum
            } else if (tmp == 4) {
            ^
0_0_24613642_29022\Main.java:110: 错误: 需要class, interface或enum
                a1 = atan2(x - g[i].x2, g[i].y2 - y);
                ^
0_0_24613642_29022\Main.java:111: 错误: 需要class, interface或enum
                a2 = atan2(g[i].y1 - y, x - g[i].x1);
                ^
0_0_24613642_29022\Main.java:112: 错误: 需要class, interface或enum
                l[m] = 0.5 * pi + a1;
                ^
0_0_24613642_29022\Main.java:113: 错误: 需要class, interface或enum
                r[m] = pi - a2;
                ^
0_0_24613642_29022\Main.java:114: 错误: 需要class, interface或enum
            } else if (tmp == 5) {
            ^
0_0_24613642_29022\Main.java:116: 错误: 需要class, interface或enum
                a1 = atan2(g[i].y1 - y, g[i].x2 - x);
                ^
0_0_24613642_29022\Main.java:117: 错误: 需要class, interface或enum
                a2 = atan


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-25 20:21:48, Gzip enabled