码迷,mamicode.com
首页 >  
搜索关键字:pair    ( 2800个结果
通过PlayBook部署Zabbix(6)
title: 通过PlayBook部署Zabbix(6) date: 2018 12 03 19:33:24 tags: Ansible categories: Ansible copyright: true Ansible是新出现的自动化运维工具,基于Python开发,集合了众多运维工具(pupp ...
分类:其他好文   时间:2019-05-18 18:58:44    阅读次数:113
Dijkstra
#include #define N 200001 #define M 500001 #define pr pair #define mk make_pair using namespace std; const int INF = 0x7fffffff; struct Node{ int v,va... ...
分类:其他好文   时间:2019-05-18 09:44:28    阅读次数:118
(BFS 输出路径 pair)
迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 41913 Accepted: 23240 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, ...
分类:其他好文   时间:2019-05-15 14:03:42    阅读次数:115
CodeForces 367 C Sereja and the Arrangement of Numbers 欧拉回路
Sereja and the Arrangement of Numbers 题解: ummm。 在一副图中,如果全部点的度数是偶数/只有2个点是奇数,则能一笔画。 考虑图的点数k为奇数的时候,那么每个点的度数都是偶数点,所以就是可以一笔画,答案为 1 +k * (i - kll) / 2; k为偶数 ...
分类:其他好文   时间:2019-05-15 12:29:31    阅读次数:131
VS Code 好用的扩展程序
1. Atom One Dark Theme。看得比较舒服的主题。 2. Beautify。格式化代码必备。 3. Bracket Pair Colorizer。不同层次的括号颜色不同,光标在括号间时括号间退格连线还会变成对应括号的颜色,方便区分括号区域。 4. Live Server。方便测试ht ...
分类:其他好文   时间:2019-05-14 19:10:52    阅读次数:141
CodeForces - 617E XOR and Favorite Number (莫队+前缀和)
Bob has a favorite number k and ai of length n. Now he asks you to answer m queries. Each query is given by a pair li and ri and asks you to count the ...
分类:其他好文   时间:2019-05-14 18:59:20    阅读次数:144
JOJO
#include #define reg register int #define il inline #define fi first #define se second #define mk(a,b) make_pair(a,b) #define numb (ch^'0') #define pb... ...
分类:其他好文   时间:2019-05-13 23:13:57    阅读次数:162
Linux网络编程——进程池实现过程详解(1)
进程池 [TOC] 父进程的实现流程 1、定义数据结构pChild,申请子进程数目的结构体空间 2、通过循环,socketpair创建全双工管道,创建子进程,将子进程pid,管道对端,是否忙碌等信息存储 3、socket,bind,listen,对应的端口处于监听状态 netstat 4、epoll ...
分类:系统相关   时间:2019-05-13 22:56:50    阅读次数:168
Array Partition I LT561
Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which makes sum of ...
分类:其他好文   时间:2019-05-11 09:46:34    阅读次数:135
K-diff Pairs in an Array LT532
Given an array of integers and an integer k, you need to find the number of unique k-diff pairs in the array. Here a k-diff pair is defined as an inte ...
分类:其他好文   时间:2019-05-11 09:41:02    阅读次数:132
2800条   上一页 1 ... 75 76 77 78 79 ... 280 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!