摘要: 模板: 示意图: 1.Ultra-QuickSort 大佬代码: //树状数组 #include<iostream> #include<string.h> #include<algorithm> using namespace std; #define MAX 500010 int c[MAX]; 阅读全文
posted @ 2018-02-18 22:50 TQCAI 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1.最大数 代码: #include <stdio.h> #include <memory.h> #include <math.h> #include <string> #include <vector> #include <set> #include <stack> #include <queue 阅读全文
posted @ 2018-02-18 21:46 TQCAI 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 王道P38T20 主代码: 完整代码: #include <cstdio> #include <stdlib.h> using namespace std; typedef struct DNode{ int data,freq; struct DNode* next=NULL; struct DN 阅读全文
posted @ 2018-02-18 13:09 TQCAI 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 王道P38T19 代码: 完整代码: #include <cstdio> #include <stdlib.h> using namespace std; typedef struct LNode{ int data; struct LNode* next=NULL; LNode(int x=0){ 阅读全文
posted @ 2018-02-18 00:07 TQCAI 阅读(616) 评论(0) 推荐(0) 编辑