commit | 47df4f7b91203e0f1f0ec8a1627150469b423b76 | [log] [tgz] |
---|---|---|
author | Abhijeet Sakhalkar <sakhalkar123abj@gmail.com> | Sun Jul 29 17:16:40 2018 +0530 |
committer | Abhijeet Sakhalkar <sakhalkar123abj@gmail.com> | Sun Jul 29 17:16:40 2018 +0530 |
tree | 4267a42aacf340f4a9ef4a8242b78f63f2a8dee1 | |
parent | 28bfe290a0db0c01003331c5b5f2bea641ac9f4e [diff] |
setup on vm
diff --git a/GAP_Parking/.classpath b/GAP_Parking/.classpath old mode 100644 new mode 100755
diff --git a/GAP_Parking/.project b/GAP_Parking/.project old mode 100644 new mode 100755
diff --git a/GAP_Parking/.settings/org.eclipse.jdt.core.prefs b/GAP_Parking/.settings/org.eclipse.jdt.core.prefs old mode 100644 new mode 100755
diff --git a/GAP_Parking/bin/.gitignore b/GAP_Parking/bin/.gitignore new file mode 100644 index 0000000..a9819ad --- /dev/null +++ b/GAP_Parking/bin/.gitignore
@@ -0,0 +1 @@ +/Test.class
diff --git a/GAP_Parking/src/Test.java b/GAP_Parking/src/Test.java old mode 100644 new mode 100755
diff --git a/Graph/.classpath b/Graph/.classpath old mode 100644 new mode 100755
diff --git a/Graph/.project b/Graph/.project old mode 100644 new mode 100755
diff --git a/Graph/.settings/org.eclipse.jdt.core.prefs b/Graph/.settings/org.eclipse.jdt.core.prefs old mode 100644 new mode 100755
diff --git a/Graph/bin/.gitignore b/Graph/bin/.gitignore new file mode 100644 index 0000000..f9c132d --- /dev/null +++ b/Graph/bin/.gitignore
@@ -0,0 +1 @@ +/Graph1/
diff --git a/Graph/bin/Graph1/EdgeExistance.class b/Graph/bin/Graph1/EdgeExistance.class index b6205ea..dbcc599 100644 --- a/Graph/bin/Graph1/EdgeExistance.class +++ b/Graph/bin/Graph1/EdgeExistance.class Binary files differ
diff --git a/Graph/src/Graph1/EdgeExistance.java b/Graph/src/Graph1/EdgeExistance.java old mode 100644 new mode 100755 index 6873240..9f57875 --- a/Graph/src/Graph1/EdgeExistance.java +++ b/Graph/src/Graph1/EdgeExistance.java
@@ -15,17 +15,17 @@ // Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail -class EdgeExistance { +class EdgeExistance { public static void main (String args []) throws Exception{ Scanner s = new Scanner(System.in); - int nodes = s.nextInt(); + int nodes1 = s.nextInt(); int edges = s.nextInt(); int x,y; - int [][] links = new int [nodes][nodes]; - for(int i=0;i<nodes;i++){ - for(int j=0;j<nodes;j++){ + int [][] links = new int [nodes1][nodes1]; + for(int i=0;i<nodes1;i++){ + for(int j=0;j<nodes1;j++){ links [i][j] = 0; } }
diff --git a/Graph/src/Graph1/LearningGraphs.java b/Graph/src/Graph1/LearningGraphs.java old mode 100644 new mode 100755
diff --git a/Graph/src/Graph1/MonkInRealEstate.java b/Graph/src/Graph1/MonkInRealEstate.java old mode 100644 new mode 100755
diff --git a/Graph/src/Graph1/TreeOrNot.java b/Graph/src/Graph1/TreeOrNot.java old mode 100644 new mode 100755