|
|
вернуться в форумWhy TL5 on C++? Послано Mary 25 дек 2024 19:14 Im using BFS to find shortest way from S to F, BFS to count dists, BFS to count probability on shortest ways. I tried c++ vectors and arrays, both are getting TLe Maybe cause is long double values (three BFS can pass in 1 second). How can I fix it? Maybe Dijkstra on two parameters? |
|
|