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

Commit 1dfd4b4

Browse files
committed
Added more
1 parent 7d601ba commit 1dfd4b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/convention2.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public int compare(cow arg0, cow arg1) {
3737
while(cows_eaten < N) {
3838
if(theline.isEmpty()) {
3939
tc = time.get(cows_eaten);
40-
40+
ctime = tc.x;
4141
}else {
4242

4343
tc = theline.remove(0);
@@ -48,7 +48,7 @@ public int compare(cow arg0, cow arg1) {
4848
}
4949
ctime = ctime + tc.y;
5050
maxsenority = -1;
51-
cow nextcow = new cow(-1,-1); // Not guarented to have a conflicting time
51+
//cow nextcow = new cow(-1,-1); // Not guarented to have a conflicting time
5252
int count = 0;
5353
while(true) {
5454
cows_eaten++;

0 commit comments

Comments
 (0)