摘要:// 选择排序.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 #include <iostream> #include<random> #include <iomanip> using namespace std; typedef struct slist { int d
阅读全文
摘要:#include <iostream> using namespace std; int bisearch(int* a,int low,int high,int h)//递归调用 { int f = (low + high) / 2; if (a[f] == h) return f; else i
阅读全文
摘要:#include <iostream> #include <iomanip> #define int_max 5000 #define max_ver 20 typedef enum { dg, dn, udg, udn } graphkind; typedef struct arccell { i
阅读全文
摘要:#include <iostream> #include <iomanip> #define int_max 5000 #define max_ver 20 typedef enum { dg, dn, udg, udn } graphkind; typedef struct arccell { i
阅读全文