Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit 212ec15

Browse files
raymoraymo
authored andcommitted
Update cowjump.java
1 parent 864f72e commit 212ec15

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cowjump.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public static void main(String[] args) throws IOException{
8282
int output = -1;
8383
for(int i = 0; i < N; i ++) {
8484
StringTokenizer st = new StringTokenizer(f.readLine());
85+
<<<<<<< HEAD
8586
<<<<<<< HEAD
8687
Point a = new Point(Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()));
8788
Point b = new Point(Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()));
@@ -110,6 +111,8 @@ public static void main(String[] args) throws IOException{
110111
pw.close();
111112
System.exit(0);
112113
=======
114+
=======
115+
>>>>>>> parent of c6da410... Long Proofing
113116
a = new Point(Integer.parseInt(st.nextToken()),Integer.parseInt(st.nextToken()));
114117
b = new Point(Integer.parseInt(st.nextToken()),Integer.parseInt(st.nextToken()));
115118
a = a.setIndex(i);
@@ -201,6 +204,9 @@ class Point{
201204
class Point implements Comparable<Point>{
202205
double x,y;
203206
int index = -1;
207+
<<<<<<< HEAD
208+
>>>>>>> parent of c6da410... Long Proofing
209+
=======
204210
>>>>>>> parent of c6da410... Long Proofing
205211
public Point(double x,double y) {
206212
this.x = x;
@@ -344,11 +350,14 @@ public double atX(double x) {
344350
return this.a.y * (x/this.a.x);
345351
}
346352
}
353+
<<<<<<< HEAD
347354
<<<<<<< HEAD
348355
public Point atX_(double x) {
349356
return new Point(x,this.atX(x));
350357
}
351358
=======
359+
=======
360+
>>>>>>> parent of c6da410... Long Proofing
352361

353362
public Point atX_(double x) {
354363
return new Point(x,this.atX(x));

0 commit comments

Comments
 (0)