Dijkshtra.java

This commit is contained in:
Mayank Kumar Jha
2017-04-24 19:25:18 +05:30
committed by GitHub
parent 9d2374ffbe
commit 1857fac133

View File

@ -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