【模板】快速排序 #include <iostream> using namespace std; const int N = 1e5 + 10; int a[N]; void qsort(int l, int r) { if(l >= r) return; //边界边界,莫要忘了 int i = ...
分类:
编程语言 时间:
2020-06-09 18:25:49
阅读次数:
76
In this application, we will create a simple adder that computes the sum of two integers. During this process, we will: Generate a Maven project using ...
分类:
移动开发 时间:
2020-06-09 18:18:18
阅读次数:
59
1006 换个格式输出整数 (15分) #include<iostream> #include<string> #include<cstdio> using namespace std; int main(){ int n;cin>>n; string s=to_string(n); if(s.le ...
分类:
其他好文 时间:
2020-06-09 18:12:55
阅读次数:
51
下面的内容段是关于C#调用mmpeg进行各种视频转换的封装类的内容。 using System.Web;using System.Configuration; namespace DotNet.Utilities{ public class VideoConvert : System.Web.UI. ...
数据结构::线性队列 #include <iostream> using namespace std; #define MaxSize 10 /*//链栈 typedef struct Linknode{ int data; struct Linknode *next; }*LiStack; */ ...
分类:
其他好文 时间:
2020-06-09 16:50:36
阅读次数:
71
20200609 部分引用https://www.jb51.net/article/163112.html ubuntu18.04安装3个python版本,系统已自带python3.6.9和2.7.15,再增加python3.6.8,默认python3.6.8 一、旧版本信息 root@zhigua ...
分类:
编程语言 时间:
2020-06-09 16:40:57
阅读次数:
122
#include<iostream> #include<cstdio> using namespace std; int a[105];//以数组的的形式记录拆分,便于接下来的搜索与回溯 bool b[100]={0}; int n; int tot=0; void search(int,int); ...
分类:
其他好文 时间:
2020-06-09 16:15:58
阅读次数:
95
从这里开始 传送门 说好的 agc 045 题解去哪了 Problem A 元旦老人与汉诺塔 直接状压每个盘子在哪个柱子,记忆化搜索即可。 时间复杂度 O(能过)。 Code #include <bits/stdc++.h> using namespace std; typedef bool boo ...
分类:
其他好文 时间:
2020-06-09 14:56:37
阅读次数:
60
如下代码内容是关于C++霍夫曼编码(Huffman Coding)的代码。 #include<iostream> #include<string> #include<queue> using namespace std; class node{ public: content=con; weight ...
分类:
编程语言 时间:
2020-06-09 12:58:15
阅读次数:
88
比赛时写了两题才想起来第二天口语考试,于是去复习了。惨。还好我本来分就低?(1399->1374) A. Matrix Game 代码: 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int N = 55, M = 1; 4 ty ...
分类:
其他好文 时间:
2020-06-09 12:55:39
阅读次数:
60