摘要:
模板: 示意图: 1.Ultra-QuickSort 大佬代码: //树状数组 #include<iostream> #include<string.h> #include<algorithm> using namespace std; #define MAX 500010 int c[MAX]; 阅读全文
摘要:
1.最大数 代码: #include <stdio.h> #include <memory.h> #include <math.h> #include <string> #include <vector> #include <set> #include <stack> #include <queue 阅读全文
摘要:
王道P38T20 主代码: 完整代码: #include <cstdio> #include <stdlib.h> using namespace std; typedef struct DNode{ int data,freq; struct DNode* next=NULL; struct DN 阅读全文
摘要:
王道P38T19 代码: 完整代码: #include <cstdio> #include <stdlib.h> using namespace std; typedef struct LNode{ int data; struct LNode* next=NULL; LNode(int x=0){ 阅读全文