1、hust 1017 Exact cover (Dancing Links 模板题) 题意:n*m的单位矩阵。现在要选一些行,使得这些行的集合中每列只出现一个1. 思路:裸的精确覆盖问题。刷一遍模板。 1 #include <iostream> 2 #include <stdio.h> 3 #in ...
分类:
其他好文 时间:
2017-08-14 00:31:32
阅读次数:
130
Easy Finding Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 15668 Accepted: 4163 Description Given a M×N matrix A. Aij ∈ {0, 1} (0 ≤ i < M ...
分类:
其他好文 时间:
2017-08-13 14:17:48
阅读次数:
192
header 页眉 content 内容 footer 页脚 盒子居中 margin: 0 auto; links 链接 no-repeat 不平铺 父子关系用padding 盒子变大用box-sizing: border-box; 即在一行,又能设置宽高display: inline-block; ...
分类:
其他好文 时间:
2017-08-13 13:30:35
阅读次数:
176
import urllib.requestfrom bs4 import BeautifulSoup def get_link(page): # 寻找链接的href linkData = [] for page in page.find_all('td'): links = page.select( ...
分类:
编程语言 时间:
2017-08-12 16:08:55
阅读次数:
774
Given a singly linked list whose nodes contain an integer as their keys. All keys are distinct. Swap the node that has key x with the node that has ke ...
分类:
其他好文 时间:
2017-08-09 10:12:27
阅读次数:
128
Tutorials for Recommender Systems: 1.Implementing your own recommender systems in python 2.Beginners' guide to Non-negative Matrix Factorization 3.Alt ...
分类:
其他好文 时间:
2017-08-08 19:35:10
阅读次数:
124
Compose file reference 语法: web: build: ./web ports: - "5000:5000" volumes: - .:/code links: - redis redis: image:redis build:可使用相对目录或绝对目录 ports:可使用端口范 ...
分类:
其他好文 时间:
2017-08-05 12:31:03
阅读次数:
197
[实践]使用JarJar优雅的发布依赖包 打包工具: Jar Jar Links是一个Java类库重新打包工具。 可以帮助你将其它用到的java库打包并嵌入到你自己的项目jar包中。这样做的原因有: Jar Jar Links是一个Java类库重新打包工具。 可以帮助你将其它用到的java库打包并嵌 ...
分类:
编程语言 时间:
2017-07-26 19:28:06
阅读次数:
158
1.什么是VDOM? Virtual Domain 2.VDOM之间如何连接和通信? Configuring VDOM links Inter-VDOM routing Inter-VDOM routing 3.为什么需要VDOM links? VDOM link 起到什么作用? VDOM link ...
分类:
其他好文 时间:
2017-07-22 19:49:05
阅读次数:
1701
数独1--暴力回溯法(时间超) 一、心得 可用暴力搜索法(找唯一数单元格)和Dancing Links算法求解 先回顾之前的三篇文章 “算法实践——数独的基本解法”,介绍求解数独的基本的暴力搜索法 “跳跃的舞者,舞蹈链(Dancing Links)算法——求解精确覆盖问题”,网友huangfeidi ...
分类:
其他好文 时间:
2017-07-14 10:07:27
阅读次数:
184