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

Commit 1b934a2

Browse files
committed
Started debugging
1 parent 8e21161 commit 1b934a2

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

convention2.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10
1+
7655

src/convention2.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public int compare(cow arg0, cow arg1) {
3939
tc = time.get(cows_eaten);
4040
ctime = tc.x;
4141
}else {
42-
4342
tc = theline.remove(0);
4443
waittime = ctime - tc.x;
4544
if(waittime > mtime) {
@@ -60,11 +59,7 @@ public int compare(cow arg0, cow arg1) {
6059
}
6160
}
6261
if(count>0) {theline.sort(cowcompare);}
63-
64-
6562
}
66-
67-
6863
//System.out.println(mtime);
6964
PrintWriter pw = new PrintWriter(new FileWriter("convention2.out"));
7065
pw.print(mtime);

0 commit comments

Comments
 (0)