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_36378002_22688.cpp:11:9: error: 'xd' was not declared in this scope
 int cmp(xd a,xd b)
         ^
0_0_36378002_22688.cpp:11:14: error: 'xd' was not declared in this scope
 int cmp(xd a,xd b)
              ^
0_0_36378002_22688.cpp:11:18: error: expression list treated as compound expression in initializer [-fpermissive]
 int cmp(xd a,xd b)
                  ^
0_0_36378002_22688.cpp:12:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_36378002_22688.cpp: In function 'int main()':
0_0_36378002_22688.cpp:47:4: error: 'e' was not declared in this scope
    e[i]=P(x,y);
    ^
0_0_36378002_22688.cpp:49:8: error: 'e' was not declared in this scope
   sort(e+1,e+1+n);
        ^


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-10-01 15:31:27, Gzip enabled