码迷,mamicode.com
首页 >  
搜索关键字:turn    ( 27138个结果
Luogu3275 [SCOI2011]糖果 (差分约束)(未完成)
```cpp #include #include #include #include #include #define R(a,b,c) for(register int a = (b); (a) = (c); --(a)) #define Fill(a,b) memset(a, b, sizeof... ...
分类:其他好文   时间:2019-08-25 01:07:20    阅读次数:117
Spring Boot 整合 ActiveMQ
依赖 配置文件(application.yml) 定义Queue 生产者 ...
分类:编程语言   时间:2019-08-25 00:59:23    阅读次数:129
HDU6682 Rikka with Mista
题意 给出n( using namespace std; typedef long long LL; const int maxn = 3000000+10; struct node { LL x,y; int c; }; int n,na,nb; node a[maxn],b[maxn],tmp[ ...
分类:其他好文   时间:2019-08-25 00:55:38    阅读次数:100
日常口语二
when I get out of bed in the morning, the first thing I do is pull out my toothbrush and toothpaste. then I turn on the faucet, run some water over my ...
分类:其他好文   时间:2019-08-25 00:39:17    阅读次数:95
Poj2251 BFS模板题
题目链接:https://vjudge.net/problem/POJ-2251 Dungeon Master Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 62948 Accepted: 23020 Description Y ...
分类:其他好文   时间:2019-08-25 00:38:30    阅读次数:85
获取两个字符串中最长相等的字符串
获取两个字符串中最长相等的字符串 例:“likeyou”和“loveyou” 输出“eyou” 前段时间面试遇到的面试题,当时的想法是首先将字符串拆分成字符数组,然后拿两个数组去做比较,可惜由于基础不是很扎实,当时的for循环比较写成了这个样子 ...
分类:其他好文   时间:2019-08-24 22:44:30    阅读次数:112
Redux概览
简介 Redux 是一个有用的架构 Redux 的适用场景:多交互、多数据源 工作流程图 action 用户请求 Reducer 状态机 Reducer 是一个函数,它接受 Action 和当前 State 作为参数,返回一个新的 State。 Reducer 是纯函数,就可以保证同样的State, ...
分类:其他好文   时间:2019-08-24 22:36:14    阅读次数:111
数组和指针的区别
看例子: 注意:1,对于数组,a指首元素地址,&a指整个数组(对象)的首地址,故a和&a值相等。 2,a+1跨了一个sizeof(a[0])是第二个元素地址,但&a+1是跨了一个sizeof(a)的地址。 3,a[1] = *(a+1),同样p[1] = *(p+1)。 4,表示字符串时&a和a指向 ...
分类:编程语言   时间:2019-08-24 21:00:44    阅读次数:98
2019暑假集训8.24(problem2.baritone)(链表(巧妙数据结构))
数据结构好题! 因为思路是第一次见,所以就直接说思路。 题目抽象: 这是一个矩形 里面有很多的点,求至少覆盖k个点的矩形有多少个 先确定上边界,下边界为低端 上边界下面的点用链表存起来 考虑以每个点作为左边界的贡献(线上的点也算在矩形内),假如k=3,那么右边界至少在橙色这根线这儿 符合要求的矩形的 ...
分类:其他好文   时间:2019-08-24 20:36:47    阅读次数:52
zookeeper入门之介绍与安装
一:zookeeper是什么 What is ZooKeeper? ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchron ...
分类:其他好文   时间:2019-08-24 18:54:07    阅读次数:76
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!