码迷,mamicode.com
首页 >  
搜索关键字:pair    ( 2800个结果
C# 使用Epplus导出Excel [2]:导出动态列数据
上一篇导出excel,是导出已知固定列,有时候我们根本就不知道有几列、列名是什么,因此这些动态列,可以用Dictionary<string,string>接收。 1、实体Student上加上一个字段Dictionarys Student.cs 2、表头表体类上加上动态列的添加表头与表体 Epplus ...
分类:Windows程序   时间:2019-02-01 15:55:25    阅读次数:258
排序~
vector<pair<int,int> >v;很常用 还有一种写法 ...
分类:编程语言   时间:2019-01-31 19:20:22    阅读次数:205
COMS 4771 HW0 matlab a calibration assignmen
COMS 4771 HW0Due: Sun Jan 27, 2019 at 11:59pmThis is a calibration assignment (HW0). The goal of this assignment is for you to recall basicconcepts, a ...
分类:其他好文   时间:2019-01-29 20:49:03    阅读次数:173
Maintaining ICM Parameters for Using SSL for As JAVA
1770585 How to configure SSL on the AS Java You can use this procedure to configure the necessary ICM parameters to enable the use of SSL for accessin ...
分类:编程语言   时间:2019-01-29 12:48:24    阅读次数:172
HDU5765 Bonds (高维前缀和)
HDU5765 Bonds (高维前缀和) 题意:$n(n include include include include include define IOS ios::sync_with_stdio(false) define pb push_back define Pii pair defin ...
分类:其他好文   时间:2019-01-28 17:34:54    阅读次数:228
#6282. 数列分块入门 6
题目链接:https://loj.ac/problem/6282 题目描述 给出一个长为 nn 的数列,以及 nn 个操作,操作涉及单点插入,单点询问,数据随机生成。 题目描述 给出一个长为 nn 的数列,以及 nn 个操作,操作涉及单点插入,单点询问,数据随机生成。 题目描述 给出一个长为 nn  ...
分类:其他好文   时间:2019-01-27 21:56:53    阅读次数:209
STL之pair对组
1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 //创建对组 8 void test01(){ 9 /*方法一:*/ 10 pair pair1(10,20); 11 cout pair2=make_pai... ...
分类:其他好文   时间:2019-01-27 11:31:57    阅读次数:149
C++11中std tuple的使用
std::tuple是类似pair的模板。每个pair的成员类型都不相同,但每个pair都恰好有两个成员。不同std::tuple类型的成员类型也不相同,但一个std::tuple可以有任意数量的成员。每个确定的std::tuple类型的成员数目是固定的,但一个std::tuple类型的成员数目可以 ...
分类:编程语言   时间:2019-01-24 21:50:18    阅读次数:254
The XOR Largest Pair(Tire字典树应用)
题目链接:传送门 思路:建立一个32位的字典树,对每一个要插入的数字查找它异或的最大值(就是尽量全部二进制的值都相反), 然后获得两个数异或的最大值。 #include<iostream> #include<cstdio> #include<cstring> using namespace std; ...
分类:其他好文   时间:2019-01-23 22:09:04    阅读次数:316
make_pair
std::pair是二元组类模板,就是表示两种相互关联的事物。make_pair实际上是一个创建二元组的便利函数模板,这里用到了C++函数模板的模板参数可省略的特性,不使用这个函数模板的话,每次你要创建一个二元组必须写明模板参数。 如: 1 2 std::pair<char, int> a( 'a' ...
分类:其他好文   时间:2019-01-22 01:20:09    阅读次数:200
2800条   上一页 1 ... 86 87 88 89 90 ... 280 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!