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_38820746_3657\Main.java:3: 错误: 非法字符: '#'
#include <iostream>
^
0_0_38820746_3657\Main.java:3: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_38820746_3657\Main.java:7: 错误: 需要class, interface或enum
struct Point
^
0_0_38820746_3657\Main.java:10: 错误: 需要class, interface或enum
};
^
0_0_38820746_3657\Main.java:12: 错误: 需要class, interface或enum
double s(Point p1, Point p2, Point p3)
^
0_0_38820746_3657\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_38820746_3657\Main.java:20: 错误: 需要class, interface或enum
    Point p1, p2, p3, p1t, p2t;
    ^
0_0_38820746_3657\Main.java:21: 错误: 需要class, interface或enum
    while(~scanf("%d", &n) && n) {
    ^
0_0_38820746_3657\Main.java:23: 错误: 需要class, interface或enum
        scanf("%lf%lf%lf%lf", &p1.x, &p1.y, &p2.x, &p2.y);
        ^
0_0_38820746_3657\Main.java:24: 错误: 需要class, interface或enum
        p1t = p1;
        ^
0_0_38820746_3657\Main.java:25: 错误: 需要class, interface或enum
        p2t = p2;
        ^
0_0_38820746_3657\Main.java:26: 错误: 需要class, interface或enum
        for(int i = 3; i <= n; i++) {
        ^
0_0_38820746_3657\Main.java:26: 错误: 需要class, interface或enum
        for(int i = 3; i <= n; i++) {
                       ^
0_0_38820746_3657\Main.java:26: 错误: 需要class, interface或enum
        for(int i = 3; i <= n; i++) {
                               ^
0_0_38820746_3657\Main.java:28: 错误: 需要class, interface或enum
            if(s(p1, p2, p3) < 0) {
            ^
0_0_38820746_3657\Main.java:30: 错误: 需要class, interface或enum
                break;
                ^
0_0_38820746_3657\Main.java:31: 错误: 需要class, interface或enum
            }
            ^
0_0_38820746_3657\Main.java:34: 错误: 需要class, interface或enum
                if(s(p3, p1t, p2t) < 0) ans = 0;
                ^
0_0_38820746_3657\Main.java:35: 错误: 需要class, interface或enum
                break;
                ^
0_0_38820746_3657\Main.java:36: 错误: 需要class, interface或enum
            }
            ^
0_0_38820746_3657\Main.java:38: 错误: 需要class, interface或enum
            p2 = p3;
            ^
0_0_38820746_3657\Main.java:39: 错误: 需要class, interface或enum
        }
        ^
0_0_38820746_3657\Main.java:41: 错误: 需要class, interface或enum
    }
    ^
0_0_38820746_3657\Main.java:44: 错误: 需要class, interface或enum
}
^
24 个错误


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-23 03:28:17, Gzip enabled