2018年11月26日

多种排序功能的实现

摘要: #include<iostream>#include<stdlib.h>#include<algorithm>#include<ctime>#include<cstdio>#include<iomanip>#include<conio.h>using namespace std;template<c 阅读全文

posted @ 2018-11-26 20:41 Numb_lzw 阅读(334) 评论(0) 推荐(0)

(数据结构)HashTable的实现

摘要: #include<iostream>#include<iomanip>#include<vector>#include<list>using namespace std; template<class Iterator,class T>Iterator Find(Iterator first,Ite 阅读全文

posted @ 2018-11-26 20:40 Numb_lzw 阅读(459) 评论(0) 推荐(0)

对string型变量的频率统计(文章单词检索)

摘要: #include<bits/stdc++.h>using namespace std;#define ll long longmap<string,ll> mp;set<string> ss; void cnt(const string s,string sp){ for(ll i=0; i<s.l 阅读全文

posted @ 2018-11-26 20:25 Numb_lzw 阅读(275) 评论(0) 推荐(0)

对int型变量的频率统计

摘要: #include<bits/stdc++.h>using namespace std;#define maxn 1005#define ll long longint a[maxn]; int main(){ ios::sync_with_stdio(false); int r; memset(a, 阅读全文

posted @ 2018-11-26 20:19 Numb_lzw 阅读(173) 评论(0) 推荐(0)

导航