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_39008294_1558.cpp:4:9: error: expected ';' at end of member declaration
    4 | int x,y,z
      |         ^
      |          ;
0_0_39008294_1558.cpp:6:24: error: expected ',' or '...' before numeric constant
    6 | bool cmp (NODE x1,NODE 2){
      |                        ^
0_0_39008294_1558.cpp: In function 'bool cmp(NODE, NODE)':
0_0_39008294_1558.cpp:7:13: error: 'x2' was not declared in this scope; did you mean 'x1'?
    7 | return x1.x<x2.x || x1.x==x2.x && x1.y<x2.y ;
      |             ^~
      |             x1
0_0_39008294_1558.cpp: In function 'int main()':
0_0_39008294_1558.cpp:30:19: error: expected ';' before '}' token
   30 | res=max(res,dp[i])}
      |                   ^
      |                   ;


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-26 16:10:36, Gzip enabled