码迷,mamicode.com
首页 >  
搜索关键字:pair    ( 2800个结果
poj~3694Network
Description A network administrator manages a large network. The network consists of N computers and M links between pairs of computers. Any pair of c ...
分类:Web程序   时间:2018-05-26 00:36:43    阅读次数:224
【做题】UVA-12304——平面计算集合六合一
可真是道恶习题…… 首先翻译一下6个任务: 1. 给出一个三角形,求它的外界圆。 2. 给出一个三角形,求它的内接圆。 3. 给出一个圆和一个点,求过这个点的切线的倾斜角$\alpha \in [0,180)$。(这个点可能在圆内或圆上) 4. 给出一条切线、圆上一点和圆的半径,求圆心位置。(此问题 ...
分类:其他好文   时间:2018-05-25 22:03:51    阅读次数:139
FastDFS图片服务器
原文:FastDFS图片服务器首先要转一个FastDFS,这个很难装。一般由运维人员安装。 git项目fastdfs-client-java由happy fish开发的,down下来后import到项目中maven install到本地仓库即可 package com.common.utils; i... ...
分类:其他好文   时间:2018-05-25 00:16:03    阅读次数:172
jenkins部署
基础环境 建议使用jdk1.5以上版本 (这里不做jdk安装讲解,去官网下载jdk下载地址) 下载(jdk-7u45-Linux-x64.tar.gz版本) jenkins安装 执行以下命令: sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg ...
分类:其他好文   时间:2018-05-24 12:03:54    阅读次数:157
cf982d Shark
"ref" cpp include include include include include using namespace std; typedef pair par; int n; par a[100005]; set se; map mp; int main(){ cin n; for( ...
分类:其他好文   时间:2018-05-23 20:42:12    阅读次数:725
poj-3522 最小生成树
Description Given an undirected weighted graph G, you should find one of spanning trees specified as follows. The graph G is an ordered pair (V, E), w ...
分类:其他好文   时间:2018-05-23 00:11:33    阅读次数:206
TOJ1254: Minimum Inversion Number
描述 The inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i < j and ai > aj.For a given sequence ...
分类:其他好文   时间:2018-05-22 20:37:32    阅读次数:161
CodeForces - 985E Pencils and Boxes
可以证明的是,总是存在一种最优策略使得每个组内的权值都是连续的。 所以排完序一遍 two pointers就好啦。 Discription Mishka received a gift of multicolored pencils for his birthday! Unfortunately h ...
分类:其他好文   时间:2018-05-22 14:53:02    阅读次数:356
httpclient之post 方法(参数为json类型)
package httpclient;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.ut ...
分类:Web程序   时间:2018-05-22 13:01:31    阅读次数:727
SPOJ 刷题记录
297 二分 #include<bits/stdc++.h> using namespace std; #define fi first #define se second #define pi acos(-1.0) #define LL long long #define mp make_pair ...
分类:其他好文   时间:2018-05-21 19:51:48    阅读次数:166
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!