E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Algo
♥蓝桥杯
ALGO
-122 未名湖边的烦恼【排列组合】
算法训练未名湖边的烦恼 时间限制:1.0s 内存限制:256.0MB 问题描述每年冬天,北大未名湖上都是滑冰的好地方。北大体育组准备了许多冰鞋,可是人太多了,每天下午收工后,常常一双冰鞋都不剩。每天早上,租鞋窗口都会排起长龙,假设有还鞋的m个,有需要租鞋的n个。现在的问题是,这些人有多少种排法,可以避免出现体育组没有冰鞋可租的尴尬场面。(两个同样需求的人(比如都是租鞋或都是还鞋)交换位置是同
qq_29600137
·
2016-01-10 15:00
算法
蓝桥杯
ALGO
-124 数字三角形
算法训练数字三角形 时间限制:1.0s 内存限制:256.0MB 问题描述(图3.1-1)示出了一个数字三角形。请编一个程序计算从顶至底的某处的一条路径,使该路径所经过的数字的总和最大。●每一步可沿左斜线向下或右斜线向下走;●1<三角形行数≤100;●三角形中的数字为整数0,1,…99;.(图3.1-1)输入格式文件中首先读到的是三角形的行数。接下来描述整个三角形输出格式最大总和(整数)样
qq_29600137
·
2016-01-10 15:00
基础模拟
bootstrap modal动态加载内容
"); })$('body').on('hidden.bs.modal','.modal',function(){ $(this).removeData('bs.modal'); });http://
algo
13
骡骡
·
2015-12-04 10:00
【hoj】1604 cable master
4设5入,所以能够自己算出小数点后两位的数值,在输出,保证要求的精度 #include <iostream> #include <stdio.h> #include <
algo
·
2015-11-13 19:56
master
POJ 3104 Drying 二分
#include<cstdio> #include<
algo
·
2015-11-13 17:06
poj
2013 吉林通化邀请赛 Tutor 有点坑的水题
;iostream> #include<cstdio> #include<string.h> #include<cmath> #include<
algo
·
2015-11-13 13:40
水题
hdu-4418-Time travel-高斯+概率dp
#include<stdio.h> #include<string.h> #include<iostream> #include<
algo
·
2015-11-13 12:07
time
c# BlowFish 高速 对称加密
BlowFish 高速 对称加密 string key = "this is my key"; BlowFish
algo
·
2015-11-13 11:51
对称加密
1964-NP
In this problem you will be analyzing a property of an
algo
·
2015-11-13 08:50
64
hdu 2807 The Shortest Path
#include <cstdio> 2 #include <iostream> 3 #include <cstring> 4 #include <
algo
·
2015-11-13 05:27
Path
hdu 4278 Faulty Odometer
View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <
algo
·
2015-11-13 05:40
dom
POJ2398+几何+排序
4 #include<stdio.h> 5 #include<string.h> 6 #include<stdlib.h> 7 #include<
algo
·
2015-11-13 05:07
poj
poj 3207 2-SAT问题
具体见代码 #include<iostream> #include<cstdio> #include<
algo
·
2015-11-13 02:22
poj
BNU Invading system
AC代码: #include<iostream> #include<cstdio> #include<
algo
·
2015-11-13 02:13
System
uva 12544 无向图最小环
#include<iostream> #include<cstdio> #include<cstring> #include<
algo
·
2015-11-13 00:27
uva
poj 2761 Feed the dogs 求区间第k大的数
poj 2104 的样例数据就明白了 View Code #include<cstdio> #include<cstring> #include<
algo
·
2015-11-12 21:35
poj
poj 3287 The Trip, 2007_贪心
#include <iostream> #include<cstdio> #include<cstring> #include<
algo
·
2015-11-12 17:33
2007
UVa 11258 String Partition(简单DP)
;cstdio> #include <cstdlib> #include <cstring> #include <climits> #include <
algo
·
2015-11-12 17:28
partition
c++ 01
gt;面向硬件-> 面向指令->面向过程->面向对象->面向问题
Algo
68
·
2015-11-12 16:25
C++
I2C之知(六)--s3c2440用I2C接口访问EEPROM
nbsp; 本来是想用s3c2440的SDA和SCL管脚复用为GPIO来模拟的,但在没有示波器的情况下搞了一周,怎么都出不来,最后还是放弃了.甚至参考了linux下i2c-
algo
-bit.c
·
2015-11-12 11:08
ROM
[POJ] [1264] [SCUD Busters]
lt;stdio.h>#include <math.h>#include <string.h>#include <iostream>#include <
algo
·
2015-11-12 09:46
poj
有关Lemek's
algo
中,除了Initial Ray外Second Ray是不可能出现(W0,W1,W2,。。。Z0均严格>0)的证明
感觉Murty的书里讲的不清楚,我自己整理了遍自己的证明 1。首先当Ax=b(A mxn)不是Degenerate的情况下(即b不可能由任意<m个的列向量表示出来的情况下)使用Lemke Law是不会出Basis Cycling的情况的。 证明:如果一个出现了Cycling的情况意味,对于某个Basis它可以由3个不同的Ba
·
2015-11-11 19:28
init
找规律 Codeforces Round #290 (Div. 2) A. Fox And Snake
> 7 #include <cstring> 8 #include <string> 9 #include <map> 10 #include <
algo
·
2015-11-11 18:33
codeforces
Ultra-QuickSort(归并排序求逆序对数)
; Accepted: 12295 Description In this problem, you have to analyze a particular sorting
algo
·
2015-11-11 17:44
Quicksort
lambda与函数调用的转换
#include<iostream> #include<vector> #include<string> #include<
algo
·
2015-11-11 16:18
lambda
poj 1011
;cstdio> #include<vector> #include<cstring> #include<iostream> #include<
algo
·
2015-11-11 15:58
poj
Chp11: Sorting and Searching
Common Sorting
Algo
: Bubble Sort: Runime: O(n2) average and worst case.
·
2015-11-11 15:52
search
POJ 3378 Crazy Thairs(树状数组优化)
#include <iostream> #include <stdio.h> #include <string.h> #include <
algo
·
2015-11-11 14:14
树状数组
SPFA算法
求单源最短路的SPFA算法的全称是:Shortest Path Faster
Algo
·
2015-11-11 11:14
SPFA
数学 Codeforces Round #219 (Div. 2) B. Making Sequences is Fun
/ 5 #include <cstdio> 6 #include <cmath> 7 #include <iostream> 8 #include <
algo
·
2015-11-11 07:30
codeforces
poj3334Connected Gheeves(二分)
#include <iostream> 2 #include<cstdio> 3 #include<cstring> 4 #include<
algo
·
2015-11-11 05:15
connect
Leetcode: Pascal's Triangle II
Original
algo
·
2015-11-11 01:41
LeetCode
poj3254:基础状压dp
ac代码: #include <iostream> #include <stdio.h> #include<string.h> #include<
algo
·
2015-11-10 22:07
poj
poj 1094 拓扑排序
================================= // //>File:poj1094.cpp //>Author:flowertree //>Time:2015年11月5日 //>
Algo
fuyan159357
·
2015-11-09 21:00
poj
图论
容斥原理 讲解
vici/archive/2011/09/05/155103.aspx 容斥原理(翻译) 前言: 这篇文章发表于 http://e-maxx.ru/
algo
·
2015-11-09 12:05
原理
HDU 2089 不要62 (数位DP)
[cpp] #include <iostream> #include <cstdio> #include <cmath> #include <
algo
·
2015-11-07 15:45
HDU
HDU 2089 不要62 (数位DP)
[cpp] #include <iostream> #include <cstdio> #include <cmath> #include <
algo
·
2015-11-07 15:30
HDU
POJ 3687 Labeling Balls【拓扑排序 优先队列】
://blog.csdn.net/scf0920/article/details/28108243 然后用优先队列来实现的参看的这一篇 http://ycool.com/post/u9ahrwg#
algo
3
·
2015-11-07 14:09
label
STL 源代码分析 算法 stl_
algo
.h -- includes
本文senlie原,转载请保留此地址:http://blog.csdn.net/zhengsenlie includes(应用于有序区间) ------------------------------------------------------------- 描写叙述:S1和S2都必须是有序集合。推断序列二 S2 是否"涵盖于"序列一 S1,即"S2的
·
2015-11-06 07:40
include
Timus1132(二次剩余方程求解)
这个思路很简单,详见:http://
algo
.ftiasch.com/tag/number-theory/ 一开始TLE,原因是我用了二分加法,以后记住:二分加法是适合很大数的,比较小的数就直接乘
·
2015-11-05 09:50
IM
最大子序列和(动态规划学习)
http://shakeone-
algo
.spaces.live.com/blog/cns!3472D0BEEE09F329!
·
2015-11-05 09:02
动态规划
Who's in the Middle--POJ 2388
iostream > 2 #include < vector > 3 #include <
algo
·
2015-11-02 16:54
poj
容斥定理
这篇文章发表于 http://e-maxx.ru/
algo
/inclusion_exclusion_principle,原文是 俄语的。
·
2015-11-02 15:12
转载
HDU 3518
2 #include<cstring> 3 #include<cstdlib> 4 #include<iostream> 5 #include<
algo
·
2015-11-01 11:08
HDU
分隔和截断字符串, boost string algorithm library中的split和trim
http://www.boost.org/doc/libs/1_46_1/doc/html/string_
algo
.html 这个库是个 headers only library 这个库提供了STL
·
2015-10-31 13:09
Algorithm
BZOJ2735 : 世博会
+y}{2},\frac{x-y}{2})$后,询问[l,r]的最优解为中位数 离散化后用主席树支持查询 #include<cstdio> #include<
algo
·
2015-10-31 11:48
ZOJ
一致性hash, ketama, 适用于memcache
Richard Jones Blog : http://www.metabrew.com/article/libketama-consistent-hashing-
algo
-memcached-clients
·
2015-10-31 11:19
memcache
boost之string_
algo
string_
algo
是用于处理字符串查找,替换,转换等一系列的字符串算法 前缀i:表示大小写不敏感 后缀_copy:表示不变动输入,返回处理结果的拷贝 后缀_if:表示算法需要一个判断式的谓词函数对象
·
2015-10-31 11:41
String
HDU 1233 还是畅通工程(最小生成树)
* 2 最小生成树,prim算法 3 */ 4 #include <cstdio> 5 #include <cstring> 6 #include <
algo
·
2015-10-31 10:12
最小生成树
zoj 1718 poj 2031 Building a Space Station
#include<stdio.h> #include<string.h> #include<math.h> #include<
algo
·
2015-10-31 10:05
Build
上一页
9
10
11
12
13
14
15
16
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他