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])}
| ^
| ;
|