码迷,mamicode.com
首页 >  
搜索关键字:erase    ( 674个结果
pair<T1, T2>
set< pair<int,int> > sp; set< pari<int,int> >::iterator it; sp.insert( make_pair(x,y) ); //插入 it=sp.lower_bound(make_pair(x1,y1)); //最小 sp.erase(it); ... ...
分类:其他好文   时间:2019-10-05 10:38:50    阅读次数:72
10.4
A. Reverse B. Silhouette C. Seat ...
分类:其他好文   时间:2019-10-04 22:51:31    阅读次数:86
树莓派MAC初始化内存卡
一、格式化内存卡 查看磁盘 diskutil list 格式化磁盘 diskutil eraseDisk FAT32 RASPBIAN MBRFormat /dev/disk2 二、烧录镜像 1、查看挂载的卷 df -h 2、分区卸载 diskutil unmountDisk /dev/disk2 ...
分类:系统相关   时间:2019-09-30 00:06:21    阅读次数:164
主席树板子题区间第k小
https://www.luogu.org/problem/P3834 ...
分类:其他好文   时间:2019-09-28 23:14:02    阅读次数:74
hdu6172&&hdu6185——BM算法
hdu6172 模板的简单应用 先根据题中的表达式求出前几项,再上BM,注意一下n的大小关系。 #include <bits/stdc++.h> using namespace std; #define rep(i,a,n) for (long long i=a;i<n;i++) #define p ...
分类:编程语言   时间:2019-09-15 19:40:45    阅读次数:148
L1-064 估值一亿的AI核心代码 (20 分)
L1-064 估值一亿的AI核心代码 (20 分) L1-064 估值一亿的AI核心代码 (20 分) L1-064 估值一亿的AI核心代码 (20 分) 以上图片来自新浪微博。 本题要求你实现一个稍微更值钱一点的 AI 英文问答程序,规则是: 无论用户说什么,首先把对方说的话在一行中原样打印出来; ...
分类:其他好文   时间:2019-08-31 21:02:22    阅读次数:67
Manthan, Codefest 19 (open for everyone, rated, Div. 1 + Div. 2)B(SET)
#define HAVE_STRUCT_TIMESPEC#include<bits/stdc++.h>using namespace std;int a[2007];set<int>s;int main(){ int n; cin>>n; int iend=n+1; for(int i=1;i<=n ...
分类:其他好文   时间:2019-08-27 00:51:02    阅读次数:110
Linux-Qt使用QThread多线程isRunning标志量问题
恢复内容开始 摘要 Qt帮助文档中是这样介绍的: 解释的一本正经,使用却不然。 问题: 使用QThread::isRunning标志量判断线程是否关闭时,判断出错,线程明明关闭,isRunning仍然显示true 解决方式: 使用isRunning 和 isFinished双标志量判断 程序说明: ...
分类:编程语言   时间:2019-08-24 18:28:37    阅读次数:121
stl概述
c++中期 先学数据结构再根据给定的数据结构写算法 stl是基于c++的标准模板库 1998年出现的一个标准 容器 算法 vector deque list map (set multiet multimap) 分为两类 1.序列式容器可序的群集 每个元素都有固定的位置 元素的位置取决于插入的时间地 ...
分类:其他好文   时间:2019-08-23 22:19:26    阅读次数:112
PAT A1002 A+B for Polynomials
PAT A1002 A+B for Polynomials 题目描述: This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file co ...
分类:其他好文   时间:2019-08-22 18:51:01    阅读次数:91
674条   上一页 1 ... 12 13 14 15 16 ... 68 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!