Catch That CowC++
摘要:
其实可以看作一个图,源点是5,5的邻边分别是6,4,10(三种走法),利用BFS,最先遍历17为最少时间。 #include<iostream> #include<queue> #include<vector> using namespace std; struct node{ int data; 阅读全文
posted @ 2024-01-30 22:32 神奇的萝卜丝 阅读(23) 评论(0) 推荐(0)
浙公网安备 33010602011771号