/in/Main.java:1: error: class, interface, or enum expected
Point prePoint=null;
^
/in/Main.java:3: error: class, interface, or enum expected
PointHeap pointHeap=new PointHeap(n*2);
^
/in/Main.java:5: error: class, interface, or enum expected
for(int i=0;i<points.length;i++){
^
/in/Main.java:5: error: class, interface, or enum expected
for(int i=0;i<points.length;i++){
^
/in/Main.java:5: error: class, interface, or enum expected
for(int i=0;i<points.length;i++){
^
/in/Main.java:8: error: class, interface, or enum expected
pointHeap.add(prePoint);
^
/in/Main.java:9: error: class, interface, or enum expected
continue;
^
/in/Main.java:10: error: class, interface, or enum expected
}
^
/in/Main.java:12: error: class, interface, or enum expected
prePoint=points[i];
^
/in/Main.java:13: error: class, interface, or enum expected
pointHeap.add(points[i]);
^
/in/Main.java:14: error: class, interface, or enum expected
}
^
11 errors