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
1017
[HUST
1017
] Exact cover
Exact cover Time Limit: 15s Memory Limit: 128MB Special Judge Submissions: 6012 Solved: 3185 DESCRIPTION There is an N*M matrix with only 0s and 1s, (1 <=
·
2015-11-12 12:12
over
HDU 题目分类
www.cppblog.com/acronix/archive/2010/09/24/127536.aspx 分类一: 基础题:1000、1001、1004、1005、1008、1012、1013、1014、
1017
·
2015-11-12 12:10
HDU
[HDU
1017
]Exact cover[DLX][Dancing Links详解][注释例程学习法]
Dancing Links解决Exact Cover问题. 用到了循环双向十字链表. dfs. 论文一知半解地看了一遍,搜出一篇AC的源码,用注释的方法帮助理解.  
·
2015-11-12 11:11
link
我的PKU ACM POJ
1017
解答
[原创]我的PKU ACM POJ
1017
解答 开始自己想了一个,不过情况分的太多了,后来参考了别人的代码,发现和精简,自己总结了下改成下面这个简单的了。
·
2015-11-12 11:18
ACM
杭电
1017
题
#include <iostream>using namespace std;int main(){ int number; cin>>number; //cout<<endl;注意此处一定不要加endl,否则会出现格式错误的警告。 int n,m; for(int i=0;i<number;i++)&nb
·
2015-11-12 09:40
杭电
window 安装 pip 链接
http://www.360doc.com/content/14/
1017
/08/10724725_417590569.shtml
rrr4578
·
2015-11-12 00:00
递推DP URAL
1017
Staircases
题目传送门 1 /* 2 题意:给n块砖头,问能组成多少个楼梯,楼梯至少两层,且每层至少一块砖头,层与层之间数目不能相等! 3 递推DP:dp[i][j] 表示总共i块砖头,最后一列的砖头数是j块的方案数 4 状态转移方程:dp[i][j] += dp[i-j][k] 表示最后一列是j,那么上一个状态是少了最后一列 5 总共i-j块砖头,倒数第二列是k块砖头。
·
2015-11-11 18:00
case
acdream
1017
: Fast Transportation 网络流层次图
1017
: Fast Transportation Time Limit: 10 Sec Memory Limit: 128 MB Submit: 
·
2015-11-11 17:34
port
[ACM] HUST
1017
Exact cover (Dancing Links,DLX模板题)
DESCRIPTION There is an N*M matrix with only 0s and 1s, (1 <= N,M <= 1000). An exact cover is a selection of rows such that every column has a 1 in exactly one of the selected rows. Try
·
2015-11-11 14:39
link
HDU 题目分类
http://blog.sina.com.cn/s/blog_71ded6bf0100tuya.html 基础题: 1000、1001、1004、1005、1008、1012、1013、1014、
1017
·
2015-11-11 14:32
HDU
HDU
1017
A Mathematical Curiosity 水题 WA了6次
1 #include<stdio.h> 2 int main() 3 { 4 int n,m,i,j,count,k,t,g; 5 scanf("%d", &t) ; 6 for(g = 1 ; g <= t ; g++) 7 { 8 if(g!=1) 9 puts("
·
2015-11-11 10:23
Math
HDOJ-
1017
A Mathematical Curiosity(淼)
pid=
1017
# include <stdio.h> int find(int n, int m) { int count = 0; for(int i = 1; i
·
2015-11-11 09:58
Math
[wikioi]乘积最大
http://wikioi.com/problem/
1017
/ 划分型动态规划1.转移方程是:f[i][j]=max(f[k][j-1]*t[k+1][i]),f[i][j]表示前面i个字符加上j个乘号所得的最大值
·
2015-11-11 09:40
IO
HDOJ
1017
HDU
1017
A Mathematical Curiosity ACM
1017
IN HDU
pid=
1017
题目描述: A Mathematical Curiosity Time Limit: 2000/1000 MS (Java/O
·
2015-11-11 07:55
Math
HDOJ 题目分类
1000: 入门用;1001: 用高斯求和公式要防溢出1004:1012:1013: 对9取余好了
1017
·
2015-11-11 07:33
分类
hdu 2462 poj 3696 The Luckiest number fzu
1017
zoj 1537 Playing with Calculator
题目思路: 求解10^x = 1 (mod 9*L/gcd(L,8))的满足x>0的最小解就是答案 由8构成的数A设有x位 那么A=8(10^0+10^1+...+10^(x-1)); 很容易得到A=(8/9)*(10^x-1); 题目的要求就是A=0(mod L) 就是(8/9)*(10^x-1)=0(mod L); ->8*(10^x-1)=0(mod 9L);
·
2015-11-11 06:27
number
[TYVJ] P
1017
冗余关系
冗余关系 背景 Background 太原成成中学第3次模拟赛 第4题 描述 Description Mrs.Chen是一个很认真很称职的语文老师 ...... 所以,当她看到学生作文里的人物关系描述得非常的麻烦的时候,她非常生气,于是宣布:凡是作文里有冗余关系的,一率罚抄出师表10次...同学们非常的恐惧,于是,
·
2015-11-11 05:48
关系
HDUOJ 分类
模拟题, 枚举1002 1004 1013 1015
1017
1020 1022 1029 1031 1033 1034 1035 1036 1037 1039 1042 1047 1048 1049
·
2015-11-11 04:35
HDU
POJ分类
1000 1001 1002 1003 1004 1005 1006 1007 1008 10111014
1017
&
·
2015-11-11 04:31
poj
HDOJ题目分类
本文来自: kuangbin(略有修改) 模拟题, 枚举 1002 1004 1013 1015
1017
1020 1022 1029 1031 1033 1034 1035 1036 1037 1039
·
2015-11-11 00:19
分类
HUST
1017
- Exact cover (Dancing Links 模板题)
一个DLX模板阿 /* 1 0 0 1 0 0 1 1 0 0 1 0 0 0 0 0 0 1 1 0 1 0 0 1 0 1 1 0 0 1 1 0 0 1 1 0 1 0 0 0 0 1 2 4 6 1 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0 1 */ #include <stdio.h> #includ
·
2015-11-10 23:10
link
Poj
1017
/ OpenJudge
1017
Packets/装箱问题
id=
1017
http://bailian.openjudge.cn/practice/
1017
2.题目: 总时间限制: 1000ms
·
2015-11-10 22:32
open
BZOJ
1017
魔兽地图DotR(树形DP)
id=
1017
题意:有两类装备,高级装备A和基础装备B。现在有m的钱。每种B有一个单价和可以购买的数量上限。每个Ai可以由Ci种其他物品合成,给出Ci种其他物品每种需要的数量。
·
2015-11-09 14:46
dot
acdream
1017
Fast Transportation(层次图)
id=
1017
题意:给定一个无向图,要用最少的时间从源点S向终点T运送K件货物。要求: (1)从一个节点走到相邻节点用时1天; (2)一天中一条路只能使用一次。
·
2015-11-09 14:51
port
杭电题目分类(1)
HDOJ 题目分类2012-05-19 9:40 模拟题, 枚举1002 1004 1013 1015
1017
1020 1022 1029 1031 1033 1034 1035 1036 1037
·
2015-11-09 14:07
杭电
IPv6互联网协议 (转帖)
现有标准IPv4只支持大概40亿(4×109)个网络地址,而IPv6支持3.4 ×1038个,这等价于在地球上每平方英寸有4.3×1020地址(6.7×
1017
·
2015-11-09 13:17
互联网
【HUST】
1017
Exact cover
1 #include<cstdio> 2 #define INF 0x7FFFFFFF 3 #define MAXN 1000010 4 int n, m, size; 5 int L[MAXN], R[MAXN], U[MAXN], D[MAXN], H[MAXN]; 6 int S[MAXN], C[MAXN], X[MAXN], Q[MAXN];
·
2015-11-08 17:44
over
1017
1 #include <iostream> 2 using namespace std; 3 int main() 4 {int m,s,i,n; 5 cin>>n; 6 for (m=2;m<n;m++) 7 {s=0; 8 for (i=1;i<m;i++) 9 if ((m%
·
2015-11-08 15:53
解决 mysql ERROR
1017
:Can't find file: '/xxx.frm' 错误
如果重启服务器前没有关闭mysql,MySql的MyiSAM表很有可能会出现 ERROR
1017
:Can't find file: '/xxx.frm' 的错误, 出现这个问题的原因不是
·
2015-11-08 14:24
mysql
树链剖分-链的剖分(线段树维护边权值的更新)
nbsp;5000MS Memory Limit: 131072K Total Submissions: 3629 Accepted:
1017
·
2015-11-08 14:49
线段树
poj
1017
Packets
1 #include<stdio.h> 2 #include<string.h> 3 int main() 4 { 5 int i,t,n; 6 int a[7],f[7]; 7 while(1) 8 { 9 memset(f,0,sizeof(f)); 10 fo
·
2015-11-07 13:37
poj
system函数调用
原文连接:http://edu.codepub.com/2010/
1017
/26463.php 相关函数 fork,execve,waitpid,popen 表头文件 #include<stdlib.h
·
2015-11-07 12:07
System
URAL
1017
——DP——Staircases
Description One curious child has a set of N little bricks (5 ≤ N ≤ 500). From these bricks he builds different staircases. Staircase consists of steps of different sizes in
·
2015-11-07 10:48
case
poj
1017
Packets
poj
1017
http://poj.org/problem?
·
2015-11-07 09:49
poj
poj
1017
简单题 View Code #include <iostream> using namespace std; int num[7], space3[]= {0, 5, 3, 1}; void init() { int i, sum = 0, ans, left2, left1; for (i = 1; i
·
2015-11-06 08:14
poj
Hadoop简要介绍
转自肥猫的博客,原文链接http://www.cnblogs.com/wayne
1017
/archive/2007/03/18/668768.html 这里先大致介绍一下Hadoop
·
2015-11-06 07:51
hadoop
解决yii框架中,使用参数化查询时,IN只能查询一个的代替方法
在yii框架中使用参数化进行IN查询时,结果不如所愿$sql=createCommand($sql)->query([':ids'=>'1013,1015,
1017
'])->readAll();
molaifeng
·
2015-11-05 20:00
PAT
1017
. Queueing at Bank
又是排队模拟 #include <iostream> #include <cstdlib> #include <vector> #include <list> #include <queue> using namespace std; class Man { public: int arrive;
·
2015-11-02 19:02
Queue
hdu
1017
A Mathematical Curiosity 解题报告
pid=
1017
Problem Description Given two integers n and m, count the number of pairs of integers (a,
·
2015-11-02 19:52
Math
Hdu
1017
A Mathematical Curiosity
题目格式真恶心,WA无数次。 CODE: 1 #include <stdlib.h> 2 #include <math.h> 3 4 #include <stdio.h> 5int main()&nb
·
2015-11-02 18:53
Math
【递归与分治】 poj
1017
递归与分治经典例题 要点在于对3*3箱子的讨论 #include <iostream> #include <cstdio> using namespace std; int main() { // freopen("in.txt","r",stdin); in
·
2015-11-02 17:14
poj
【7K7K.com】北京急聘 .NET 程序员!
有社区开发经验这者优先 5.有大型网站程序开发两年以上工作经验优先 6.有面向对象系统架构经验者优先 ------联系方式如下 联系地址:海淀区海淀大街38号银科大厦
1017
·
2015-11-02 17:29
.net
NUSS
1017
#include < stdio.h > #include < string .h > int n, i, j, k, mxa; bool f[ 2001 ][ 2001 ]; int r[ 2001 ][ 2001 ]; int uu[ 2001 ][ 2
·
2015-11-02 15:22
HUST
1017
Exact cover 跳舞链(DLX) 模板题目
http://acm.hust.edu.cn:8080/judge/problem/viewProblem.action?id=10702 题意: 给你一个n*m的01矩阵,让你选择若干行使这些行中的1能够覆盖所有的列,而且不能出现重复覆盖。输出所选的行。 思路: 这是跳舞链的模板题目。不多说了。 给出个人觉得讲解比较好的链接:http://blog.csdn.net/mu399/art
·
2015-11-02 15:07
over
hust
1017
Exact cover 精确覆盖
id=10702 题目:给你一个0-1矩阵,问你能否精确覆盖,如果可以输出任意一组解,否则输出NO; code: View Code 1 /*Problem: HUST
1017
·
2015-11-02 15:28
over
Oracle10GODP连接11G数据库,出现ORA -
1017
用户名/口令无效; 登录被拒绝 的问题
一、出现症状 1、使用sqlplus连接正常 2、C#使用10g的ODP.NET连接时,报上面的错误 二、原因 1、Oracle11G之前密码是不区分大小写的,从11G开始默认密码区分大小写 2、使用10G的ODP.NET时,会自动把密码转换成大写 三、解决办法 1、给连接字符串中密码使用加上引号,这样密码就不会转成大写了 2、换成11G客户端 3、修改数据库,禁用
·
2015-11-02 15:42
oracle10g
hust
1017
Exact cover dancing links 美丽的舞蹈
Exact cover 刚看了DLX,找到hust
1017
练了一下 为什么叫dancing links呢,据说是因为算法的创造者knuth感觉这个算法太妙了,不尽让人想起美丽的舞蹈,于是就有了这个名字
·
2015-11-02 15:47
link
魔女骑士(magic a ride)修改器 作弊器 跳跃工具 快速通关
------------------------------------------------------------- http://bbs.cleclso.tk/thread-
1017
-1-
·
2015-11-02 12:52
ide
1017
: [JSOI2008]魔兽地图DotR - BZOJ
DescriptionDotR (Defense of the Robots) Allstars是一个风靡全球的魔兽地图,他的规则简单与同样流行的地图DotA (Defense of the Ancients) Allstars。DotR里面的英雄只有一个属性——力量。他们需要购买装备来提升自己的力量值,每件装备都可以使佩戴它的英雄的力量值提高固定的点数,所以英雄的力量值等于它购买的所有装备的力量
·
2015-11-02 12:53
2008
Timus
1017
Staircases Time Limit: 1.0 second Memory Limit: 16 MB One curious child has a set of N little bricks (5 ≤ N ≤ 500). From these bricks he builds different staircases. Staircase consists of steps of d
·
2015-11-02 11:17
IM
上一页
23
24
25
26
27
28
29
30
下一页
按字母分类:
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
其他