F. Graph Without Long Directed Paths #RUNTIME
Here is my Submission link. i don't understand why my code give me Runtime error in case 15. please help me guys.
f1(i,n){ int u, v; cin>> u >> v; g[u].pb(v); g[v].pb(u); edge.pb({u,v}); }
It should be m instead of n.
It should be m instead of n.