rt
请问这两种return方式有时间复杂度的区别吗?
if(v==t) return 1; //遇到了汇点就return 900ms
return dep[t]!=INF; //bfs结束后判断 930ms