diff --git a/shortest distance bw two node.cpp b/shortest distance bw two node.cpp index ffcd900da..f90edfea0 100644 --- a/shortest distance bw two node.cpp +++ b/shortest distance bw two node.cpp @@ -56,6 +56,9 @@ void psd(vector adj[], int src, int des, int v){ int main() { + ios_base::sync_with_stdio(0); + cin.tie(0); + cout.tie(0); int v = 8; vector adj[v]; add_edge(adj, 0, 1);