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

Commit 4087d56

Browse files
committed
...
1 parent dc6c720 commit 4087d56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dining.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ static void dijkstra(int graph[][], int src) {
3131
dist[v] = dist[u] + graph[u][v];
3232
}
3333
}
34-
public static void main(String[] args) {
35-
BufferedReader f = new BufferedReader();
34+
public static void main(String[] args) throws IOException{
35+
BufferedReader f = new BufferedReader(new FileReader("dining.in"));
3636

3737
}
3838
}

0 commit comments

Comments
 (0)