mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-10 04:26:27 +08:00
Update Cycles.java
closing Scanner in
This commit is contained in:
@ -34,6 +34,7 @@ class Cycle {
|
||||
end = in.nextInt();
|
||||
adjacencyMatrix[start][end] = 1;
|
||||
}
|
||||
in.close();
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user