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
#1015
51NOD
1015
水仙花数
1015
水仙花数基准时间限制:1 秒空间限制:131072 KB分值: 5 难度:1级算法题 收藏 关注水仙花数是指一个n位数(n>=3),它的每个位上的数字的n次幂之和等于它本身。
qq_27717967
·
2015-12-27 13:00
Ubuntu 安装mysql和简单操作
http://www.cnblogs.com/zhuyp
1015
/p/3561470.html ubuntu上安装mysql非常简单只需要几条命令就可以完成。
huluedeai
·
2015-12-21 22:00
数据库
mysql
bzoj首
1014:splay+hash
1015
:并查集倒着来1016:搜索1017:树形dp1018:神
lcrtest
·
2015-12-18 16:00
icare3.0系统病人资料登记注意事项-----运维日志13
[2015-12-
1015
:34:12,958]连接中间件clsPatientSvc)操作异常,ORA-01400:无法将NULL插入("ICARE"."T_BSE_PATIENT"."
q337943198
·
2015-12-14 15:00
oracle
.net
windows
数据库
server
运维
2008
4.0
[Hiho]
1015
-KMP算法
题目:输入第一行一个整数N,表示测试数据组数。接下来的N*2行,每两行表示一个测试数据。在每一个测试数据中,第一行为模式串,由不超过10^4个大写字母组成,第二行为原串,由不超过10^6个大写字母组成。其中N #include usingnamespacestd; int*BuildNext(stringpattern) { intn=pattern.size(); int*next=newin
htx931005
·
2015-12-12 22:00
算法
hiho
hdu 1584蜘蛛牌(DFS)
Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):2364 AcceptedSubmission(s):
1015
ProblemDescription
Xwxcy
·
2015-12-08 22:00
【poj
1015
】Jury Compromise
DescriptionInFrobnia,afar-awaycountry,theverdictsincourttrialsaredeterminedbyajuryconsistingofmembersofthegeneralpublic.Everytimeatrialissettobegin,ajuryhastobeselected,whichisdoneasfollows.First,seve
Clove_unique
·
2015-12-05 19:00
dp
poj
mac 关于向.bash_profile插入内容
details/18085731http://blog.csdn.net/reylen/article/details/18085731 mac关于向.bash_profile插入内容2014-01-
1015
fygwfygyiq
·
2015-12-05 02:00
七言|听说,下初雪时,任何谎言都可以被原谅。那么,我不喜欢你了。
中国第一视觉杂志最受欢迎图文公号点击题目下方蓝字关注视觉志《每日七言》总第
1015
期。那些看上去对每个人都好的人其实是最孤独的。
视觉志
·
2015-11-25 00:00
XDU-
1015
无聊的Light Light (贪心)
1015
:无聊的LightLightTimeLimit: 1Sec MemoryLimit: 128MB[Submit][Status][WebBoard]DescriptionACM实验室某位比较胖的同学在上算法课的时候实在太无聊了
idealism_xxm
·
2015-11-22 14:00
贪心
xdu
agg::rendering_buffer渲染缓存
1介绍http://www.360doc.com/content/11/
1015
/09/992979_156314240.shtmlhttp://www.cppblog.com/Shihira/archive
fengyuzaitu
·
2015-11-20 16:45
agg::rendering_buffer渲染缓存
1介绍http://www.360doc.com/content/11/
1015
/09/992979_156314240.shtmlhttp://www.cppblog.com/Shihira/archive
fengyuzaitu
·
2015-11-20 16:45
DB2的CRASH RECOVERY
我们在连接到数据库的时候将会报SQL
1015
N错误。[yansp@db2server~]$db2getdbcfgfororacle|grepAUTORESTART Au
学习环境
·
2015-11-18 19:00
HDU分类
循环点)1006感觉有点BT的题,我到现在还没过1007经典问题,最近点对问题,用分治1008简单题1009贪心1010搜索题,剪枝很关键1011 1012简单题1013简单题(有个小陷阱)1014简单题
1015
sinat_19628145
·
2015-11-14 15:00
bzoj
1015
并查集
/************************************************************** Problem:
1015
·
2015-11-13 21:44
并查集
为什么需要代理类
http://www.cnblogs.com/zhuyp
1015
/archive/2012/07/25/2609129.html C++ 程序员都应该知道
·
2015-11-13 20:36
代理
hdu
1015
Safecracker
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1882 Accepted Submission(s): 996 &
·
2015-11-13 17:28
rack
hdu
1015
Safecracker 暴力搜索
pid=
1015
题目输入多组数据第组包括:一个整数n和一个字符串,要求从字符串中,选五个字串且满足v - w^2 + x^3 - y^4 + z^5 = n; c++ #include <
·
2015-11-13 16:42
rack
HDU 1175 连连看
这道题可以DFS或者BFS都能轻松过、但是还是要养成剪枝的习惯、 #include <stdio.h> #include <string.h> int map[
1015
·
2015-11-13 12:21
HDU
【BZOJ】
1015
: [JSOI2008]星球大战starwar(并查集)
id=
1015
看了题解的囧T_T,一开始以为是求割点,但是想到割点不能统计。。。。 这题用并查集,思想很巧妙。 我们按照逆序建图,也就是从最后一个毁了的星球之后建图。然后从后往前走。
·
2015-11-13 11:14
2008
【ZOJ】
1015
Fishing Net
problemCode=
1015
题意:给出一个n个点的无向图,询问是否为弦图,弦图定义为对于图中任意长度>3的环一定存在环上不相邻的点有边相连(n<=1000) #include &
·
2015-11-13 11:11
net
POJ
1015
-Jury Compromise
转载请注明出处:優YoU http://blog.csdn.net/lyy289065406/article/details/6671105 大致题意: 在遥远的国家佛罗布尼亚,嫌犯是否有罪,须由陪审团决定。陪审团是由法官从公众中挑选的。先随机挑选n 个人作为陪审团的候选人,然后再从这n 个人中选m 人组成陪审团。选m 人的办法是:控方和辩方会
·
2015-11-13 09:17
Promise
1015
-最大公约数和最小公倍数
描述 求两个正整数的最大公约数和最小公倍数 输入 两个正整数A,B 输出 两个正整数的最大公约数、最小公倍数 样例输入 4 3 样例输出 1 12 #include <iostream> using namespace std; void swap(in
·
2015-11-13 08:14
浙江大学PAT上机题解析之
1015
. 德才论 (25)
宋代史学家司马光在《资治通鉴》中有一段著名的“德才论”:“是故才德全尽谓之圣人,才德兼亡谓之愚人,德胜才谓之君子,才胜德谓之小人。凡取人之术,苟不得圣人,君子而与之,与其得小人,不若得愚人。” 现给出一批考生的德才分数,请根据司马光的理论给出录取排名。 输入格式: 输入第1行给出3个正整数,分别为:N(<=105),即考生总数;L(>=60),为录取最低分数线,即德分和才分
·
2015-11-13 06:02
pat
BZOJ
1015
: [JSOI2008]星球大战starwar
/* * 分析: * 如果是动态使用tarjan求联通分量求缩点个数的话,肯定TLE。 * 我们可以离线把所有要摧毁的星球输入,然后从把所有要摧毁的星球都摧毁之后往摧毁之前 * 建图,使用并查集的方式合并联通块。 * */ #include <cstdio> #include <cstring> #include <iostream> using
·
2015-11-13 05:55
2008
BZOJ
1015
program bzoj
1015
; {$inline on} const maxn=400001; type node=record togo,next:longint; end
·
2015-11-13 04:11
ZOJ
awk笔记
http://www.cnblogs.com/zhuyp
1015
/archive/2012/07/14/2591842.html awk实例练习 http://www.cnblogs.com/repository
·
2015-11-13 03:44
awk
BZOJ
1015
: [JSOI2008]星球大战starwar
1015
: [JSOI2008]星球大战starwar Description 很久以前,在一个遥远的星系,一个黑暗的帝国靠着它的超级武器统治者整个星系。
·
2015-11-13 03:44
2008
HDOJ 分类
模拟题, 枚举1002 1004 1013
1015
1017 1020 1022 1029 1031 1033 1034 1035 1036 1037 1039 1042 1047 1048 1049
·
2015-11-13 03:15
分类
弦图的判定
ZOJ
1015
1 #include < iostream >
·
2015-11-13 02:28
图
BNUOJ
1015
信息战(一)——加密程序
pid=
1015
把数组开大点,..求余运算真的很神奇 #include <stdio.h> #include <ctype.h> #include
·
2015-11-13 01:34
加密
POJ 2151, Check the difficulty of problems
Time Limit: 2000MS Memory Limit: 65536KTotal Submissions:
1015
Accepted: 391 DescriptionOrganizing
·
2015-11-13 01:08
check
POJ
1015
Jury Compromise (动态规划)
dp[i][j]代表选了i个人,D(J)-P(J)的值为j的状态下,D(J)+P(J)的最大和。 #include <cstdio> #include <cstring> #include <cstdlib> #include <algorithm> using namespace std; const int
·
2015-11-13 01:24
Promise
PKU动态规划部分题目列表
1015
Jury Compromise1029 False coin1036 Gangsters1037 A decorative fence1038 Bugs Integrated, Inc.1042
·
2015-11-12 22:21
动态规划
HDU 1698 Just a Hook
/*2012-08-08 16:07:20 Accepted 1698
1015
MS 2280K 1407 B G++ Yu*/ #include<stdio.h
·
2015-11-12 22:23
HDU
poj
1015
题意:从n个人中选出m个,每个人有固定的p值,d值,要求使m个人的p总和和d总和的差的绝对值最小,若有多解则取两者和最大的。 分析:dp 本题为special judge,不需要考虑多解情况。 f[i][j]表示在选m个人中的第i个人的时候使所有已选中的人的p,d差为j时,所能获得的p,d最大和。 f[i + 1][j + p[k] - d[k]] = f[i][j] + p[k] + d
·
2015-11-12 21:33
poj
ZOJ
1015
Fishing Net(弦图判定)
In a highly modernized fishing village, inhabitants there make a living on fishery. Their major tools, fishing nets, are produced and fixed by computer. After catching fishes each time, together with
·
2015-11-12 17:40
net
url连接问题
time=2012/11/
1015
:25:10&
[email protected]
&key=92jldakjgdsfasdfasdrelkjdfakjdfgufg(随便编的网址)
·
2015-11-12 17:28
url
poj
1015
Jury Compromise_dp
题意:n个陪审团,每个陪审团有x,y值,选出m个陪审团,要求 (sum(xi)-sum(yi))最少,当 (sum(xi)-sum(yi))最少有多个,取sum(xi)+sum(yi)最大那个 ,并顺序输出陪审团的序号 思路:先x-y,x+y存起来,再按当dp[i][j],j相同时,要值最大,当然存路径是最烦的。 #include <iostream> #inclu
·
2015-11-12 13:26
Promise
HDUOJ----Safecracker(
1015
)
Safecracker Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 6779 Accepted Submission(s): 3370 Problem Descr
·
2015-11-12 12:20
rack
poj
1015
(dp)
看的解题报告。。http://blog.csdn.net/lyy289065406/article/details/6671105 View Code 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <algorithm>
·
2015-11-12 11:18
poj
[POJ 2588] Snakes
Snakes Time Limit: 1000MS Memory Limit: 65536K Total Submissions:
1015
·
2015-11-11 19:57
poj
Linux字符驱动中动态分配设备号与动态生成设备节点
转自:http://www.cnblogs.com/zhuyp
1015
/archive/2012/05/22/2514008.html bird
1015
的博客 在编写Linux内核驱动程序的时候
·
2015-11-11 16:00
linux
杭电
1015
题
#include <iostream>#include <algorithm>#include <string.h> //引入strcmp和strlen的头文件using namespace std;long int target;char alpstr[13];int length;//将字符从大到小进行排序(本题的关键)/*int cm
·
2015-11-11 15:24
杭电
HDU
1015
Safecracker(DFS)
题目链接 普通的DFS。。。输出字典序最大的。。。我竟然没注意。。 #include <stdio.h> #include <string.h> char p[31],o[31],max[31]; int k[31]; int ans,z,len; void dfs(int step,int sum) { int i; if(step
·
2015-11-11 15:56
rack
HDOJ
1015
Safecracker
题意: 大致是给一个数 target, 和一个字符串 str, 然后从字符串str 中选择五个字母满足方程 v - w^2 + x^3 - y^4 + z^5 = target 即可,但是在此之前需要给字符串排下序(这个地方纠结了好久,在网上看了资料才明白要排序,尼玛) 解题思路:字符串最多才12,果断DFS 水过了。 分类: DFS ,类似于背包问题。 692
·
2015-11-11 15:30
rack
DP 练习中。。。
1015
Jury Compromise1029 False coin1036 Gangsters1037 A decorative fence1038 Bugs Integrated,
·
2015-11-11 13:48
dp
UESTC
1015
Lweb and pepper --前,后缀最值
题意: n种食物,每种含花椒的概率为Pi,现在已经选择了[L,R]这个区间(下标)的食物,要再选一个,使总的食物只有一种含花椒的概率最大,问选哪个最好,相同的选下标小的。 解法: 就不写解法了。此处有官方题解: http://acm.uestc.edu.cn/bbs/read.php?tid=5835 维护一个前缀后缀的最值即可。 代码: #include <ios
·
2015-11-11 11:05
Web
csu1506: ZZ的计算器
cid=
1015
&pid=3 #include <iostream> #include <stdio.h> #includ
·
2015-11-11 10:07
计算器
DFS的基础训练清单
HDU 1010 (AC) HDU
1015
(AC) HDU 1016 (AC) HDU 1172&
·
2015-11-11 08:01
DFS
上一页
25
26
27
28
29
30
31
32
下一页
按字母分类:
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
其他