摘要: #include<iostream> #include <vector> //在3x3迷宫中寻找从S(0,0)到E(2,2)的所有路径 using namespace std; int m=999; vector<pair<int,int>> path;//存储路径坐标 vector<pair<in 阅读全文
posted @ 2025-04-26 15:50 陈若麟 阅读(11) 评论(0) 推荐(0)
摘要: #include <graphics.h> #include <math.h> #include <conio.h> #include <time.h> int main() { initgraph(640, 480); int n=9; srand(time(0)); double start=0 阅读全文
posted @ 2025-04-26 10:02 陈若麟 阅读(6) 评论(0) 推荐(0)