mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-05 16:27:33 +08:00
Dijkshtra.java
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
public static void main(String[] args) throws IOException {
|
||||
Reader in=new Reader();
|
||||
int t1=in.nextInt();
|
||||
|
||||
Scanner in =new Scanner(System.in);
|
||||
|
||||
int n=in.nextInt(); //n = Number of nodes or vertices
|
||||
int m=in.nextInt(); //m = Number of Edges
|
||||
long w[][]=new long [n+1][n+1]; //Adjacency Matrix
|
||||
|
Reference in New Issue
Block a user