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

Commit 3db5a7c

Browse files
committed
Testing new calculations
1 parent 7c5a3a2 commit 3db5a7c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.classpath

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
33
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="src" path="src_revison2"/>
45
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
56
<classpathentry kind="output" path="bin"/>
67
</classpath>

convention2.out

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

src/convention2.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
public class convention2 {
44

55
public static void main(String[] args) throws IOException{
6-
BufferedReader f= new BufferedReader(new FileReader("2.in"));
6+
BufferedReader f= new BufferedReader(new FileReader("convention2.in"));
77
StringTokenizer st;
88
int N = Integer.parseInt(f.readLine());
99
Map<cow,Integer> senority = new HashMap<cow,Integer>();
@@ -46,7 +46,7 @@ public int compare(cow arg0, cow arg1) {
4646
continue;
4747
}
4848

49-
ctime = tc.x + tc.y - c2.x;
49+
ctime = tc.x - c2.x;
5050
//System.out.println("Achieved time of "+ctime);
5151
if(ctime > mtime) {
5252
if(!nodouble) {

0 commit comments

Comments
 (0)