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_39631557_11059.c:1:2: error: expected identifier or '(' before numeric constant
    1 |  1 #include<iostream>
      |  ^
0_0_39631557_11059.c:1:4: error: stray '#' in program
    1 |  1 #include<iostream>
      |    ^
0_0_39631557_11059.c:2:4: error: stray '#' in program
    2 |  2 #include<cstdio>
      |    ^
0_0_39631557_11059.c:3:4: error: stray '#' in program
    3 |  3 #include<cmath>
      |    ^
0_0_39631557_11059.c:5:2: error: expected identifier or '(' before numeric constant
    5 |  5 const double esp=1e-8;
      |  ^
0_0_39631557_11059.c:6:2: error: expected identifier or '(' before numeric constant
    6 |  6 const int maxn=100+50;
      |  ^
0_0_39631557_11059.c:7:2: error: expected identifier or '(' before numeric constant
    7 |  7
      |  ^
0_0_39631557_11059.c:9:2: error: expected identifier or '(' before numeric constant
    9 |  9 struct Point
      |  ^
0_0_39631557_11059.c:12:7: error: 'maxn' undeclared here (not in a function)
   12 | 12 }p[maxn];
      |       ^~~~
0_0_39631557_11059.c:13:1: error: expected identifier or '(' before numeric constant
   13 | 13
      | ^~
0_0_39631557_11059.c:18:1: error: expected identifier or '(' before numeric constant
   18 | 18 bool onEdge(Point q,Point p1,Point p2)
      | ^~
0_0_39631557_11059.c:27:1: error: expected identifier or '(' before numeric constant
   27 | 27 bool inPolygon(Point q)
      | ^~
0_0_39631557_11059.c:65:1: error: expected identifier or '(' before numeric constant
   65 | 65 int main()
      | ^~


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 17:35:52, Gzip enabled