摘要:
https://www.cnblogs.com/letisl/p/12060606.html https://www.jianshu.com/p/97ebcbddd64c 阅读全文
摘要:
//正则表达式算法 https://blog.csdn.net/a2241076850/article/details/54137951 //正则表达式算法原理 https://blog.csdn.net/ybdesire/article/details/78255427 //正则表达式算法 htt 阅读全文
摘要:
一、校验数字的表达式 二、校验字符的表达式 三、特殊需求表达式 阅读全文
摘要:
主函数没有代码!!! 1 #include 2 #include 3 using namespace std; 4 5 struct MyNode{ 6 int data; 7 MyNode *pNext; 8 }; 9 struct _Hash_Table{ 10 MyNode *value[10]; 11 }; 12 _Hash_Table ... 阅读全文
摘要:
1 #include 2 #include 3 using namespace std; 4 5 #define MAP_ROW 6 6 #define MAP_COL 8 //定义寻路地图的大小,可以修改,自定义 7 8 enum PathDir{//地图点的方向 9 p_up, p_down, p_left, p_right 10 };... 阅读全文
摘要:
1 #include 2 #include 3 #define MAP_LENGTH 12 4 using namespace std; 5 6 struct MyPoint{//图中坐标点 7 int row; 8 int col; 9 }; 10 11 enum PathDir{ p_up, p_down, p_left, p... 阅读全文
摘要:
代码支持运行环境visual studio 2013。 我在Dev c++上运行不了,好像是timeGetTime()函数的问题,报错:\collect2.exe [Error] ld returned 1 exit status 代码写了多种排序算法,并进行了时间比较。由于基数排序消耗空间大,所以如果想使数组长度(ARRLEN)增大,最好现将基数排序相关代码注释掉,否则如果数组长度过大,会出... 阅读全文
摘要:
//代码功能除insert不完善,其余均可正确输出。 1 #include <iostream> 2 #include<vector> 3 #include<cstring> 4 using namespace std; 5 /* run this program using the console 阅读全文
摘要:
#include using namespace std; int main(){ cout 2 using namespace std; 3 int main(){ 4 cout 2 using namespace std; 3 int main(){ 4 cout << "Hello World!" << endl; 5 return 0; 6 ... 阅读全文
摘要:
1 #include<iostream> 2 using namespace std; 3 int main(){ 4 cout << "Hello World!" << endl; 5 return 0; 6 7 } 阅读全文