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
Courses
[SQL]根据刚刚插入数据的 ID 向另外一张表插入数据(插入的其他字段数据需要对字符串进行分析)
比如做一个学生选课系统 数据库有3张表 students(ID,Name,Age) ,
courses
(ID,Name),selectedcourses(studentID,courseID)括号里是字段
·
2015-11-12 22:10
sql
poj-1469-
COURSES
-二分图匹配-匈牙利算法(模板)
题意:N个学生,P个课程,问能不能找到课程的P个匹配。 思路:【早上睡醒了再写】 代码: 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <vector> 5 using namespace std; 6 const
·
2015-11-12 19:54
poj
POJ 3988 Selecting
Courses
(Greedy)
{POJ} {3988} {Selecting
courses
} Greedy Algorithm, time is fixed and just find the earlest finished
·
2015-11-12 17:51
select
PKU 2239 Selecting
Courses
(二分图最大匹配)
View Code 题意大概是学校有多门课。没门课可能会在一个星期的每一天i( 1 <= i <= 7 )的第j( 1 <= j <= 12 )节课进行。求一个选课方案使得能选的课最多。构造二分图,M = {课程},N =
·
2015-11-12 17:07
select
poj 2239 Selecting
Courses
二分图基础。 求二分图最大匹配(匈牙利算法)。 View Code 1 /* 2 Author:Zhaofa Fang 3 Lang:C++ 4 */ 5 #include <cstdio> 6 #include <cstdlib> 7 #include <iostream> 8 #include <cmath&
·
2015-11-12 16:28
select
HDOJ 3697 Selecting
courses
(贪心)
分析:只需枚举4个起始时间即可,确定起始时间后,后面的时间就都确定了,求最大值时,利用贪心策略,每次都选结束时间最早的。 题中说的时间不会超过1000,貌似数据中有大于1000的,被坑了…… View Code #include <stdio.h> #include <string.h> #include <algorithm> using
·
2015-11-12 15:03
select
POJ 1469
COURSES
【最大匹配】
Description Consider a group of N students and P
courses
.
·
2015-11-12 15:52
poj
poj 2239 Selecting
Courses
确定用二分图算法,就找好对应关系,本题对应关系为一周的所有课节N=7*12,和每一科的对应。 1 //1274,2239,2584,2536,2446 2 //http://wenku.baidu.com/view/9962910590c69ec3d5bb75da.html 贪心最大二分匹配 3 //匈牙利树和增广轨 4 5 #include <cstdio
·
2015-11-12 15:11
select
hdu - 1083 -
Courses
题意:有P门课程,N个学生,每门课程有一些学生选读,每个学生选读一些课程,问能否选出P个学生组成一个委员会,使得每个学生代言一门课程(他必需选读其代言的课程),每门课程都被一个学生代言(1 <= P <= 100,1 <= N <= 300) 。 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1083 ——>
·
2015-11-12 13:10
HDU
FPGA技术实践文章汇总
康乃尔大学DE2历年code http://people.ece.cornell.edu/land/
courses
/ece5760/FinalProjects/里面有很多完整的工程供学习和下载 全球使用者实例
·
2015-11-12 13:01
FPGA
SAP ABAP
Courses
ABAP DevelopmentBC400 ABAP Workbench FoundationBC401 ABAP ObjectsBC402 Advanced ABAPBC405 ABAP ReportingBC407&
·
2015-11-12 13:24
abap
【PAT】1012. The Best Rank (25)
To evaluate the performance of our first year CS majored students, we consider their grades of three
courses
·
2015-11-12 13:13
rank
HDU-----(1083)
Courses
(最大匹配)
Courses
Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K
·
2015-11-11 19:33
HDU
华清远见11月份免费活动公告
,深圳(11月03日),成都(12月01日),南京(12月08日),武汉(11月18日)活动地点:华清远见各中心校区教室 活动详情:http://www.farsight.com.cn/
courses
·
2015-11-11 18:12
活动
Image Blending
参考: 这篇PDF介绍了如何进行Image Blending的方法 http://graphics.cs.cmu.edu/
courses
/15-463/2005_fall/www/
·
2015-11-11 18:17
Blend
单链表插入操作
URL:http://jpkc.onlinesjtu.com/CourseShare/
Courses
/ResourceModule/PreReading.aspx?
·
2015-11-11 16:56
单链表
POJ 1469
COURSES
题意:有p个课程,n个学生,告诉你每个课程有那些学生选,问是否可以找到一个正好有p个学生的集合使得集合里每个学生都作为一个课的代表且每个课的代表都互不相同。 解法:二分图匹配。如果匹配数是p,则答案可以,否则不可以。 代码:#include #include #include #include #include #include #include #include #include
露儿大人
·
2015-11-11 14:00
poj 1469
COURSES
最大匹配
题意 P个课程,N个学生,之间有边连接,问是否可以 P个学生选择不同的P个课程。 解题思路 最大匹配 #include<stdio.h> #include<stdlib.h> #include<string.h> const int N = 310; int p, n; bool g[110][310]; int ma[N]
·
2015-11-11 11:16
poj
HDU 1083
Courses
匹配
题目地址: http://acm.hdu.edu.cn/showproblem.php?pid=1083 标准的匹配问题,直接上代码,有详细的注释 题目地址: #include <iostream> using namespace std; int nx, ny; //X和Y 集合中顶点的个数 int g[305][305];
·
2015-11-11 11:10
HDU
Open Wifi SSID Broadcast vulnerability
附上原文地址:https://www.os3.nl/_media/2012-2013/
courses
/ssn/open_wifi_ss
·
2015-11-11 11:38
Broadcast
linux vi命令
转自:http://jinux.hit.edu.cn/
courses
/computing/linux-viMingLing77_1.html linux vi命令vi
·
2015-11-11 10:27
linux vi
Computer Science: the Big Picture
1、课程PPTMIT OpenCourseWarehttp://ocw.mit.edu/
courses
/ ;
Courses
Stanfordhttp://cs.stanford.edu
·
2015-11-11 10:23
com
匈牙利算法 (poj1422-Air Raid,poj1469-
COURSES
)
首先注意区分“最小路径覆盖”(minimum path cover)和“最小边覆盖”(minimum edge cover)以及“最小点覆盖”(minimum vertex cover)之间的区别。详细资料可以查询Wiki。 最小路径覆盖可以转化为二分图的最大匹配(maximum bipartite matching) 。公式为最小路径覆盖数=原图节点数-二分图最大匹配数。 求最大匹配的方法
·
2015-11-11 06:32
raid
mongoDB高级查询与索引
整理来自 https://www.shiyanlou.com/
courses
/running/78 覆盖索引查询 所有的查询字段都是索引的一部分;所有的查询返回字段在同一个索引中。
·
2015-11-11 05:38
mongodb
mongoDB查询、索引与聚合
整理来自 https://www.shiyanlou.com/
courses
/running/77 初始化mongodb数据库 > use Chenshi switched to
·
2015-11-11 05:37
mongodb
mongoDB
整理来自 https://www.shiyanlou.com/
courses
/running/50 1、简介 MongoDB 是一个介于关系数据库和非关系数据库之间的产品,是非关系数据库当中功能最丰富
·
2015-11-11 05:36
mongodb
mongoDB更新和删除文档(document)
整理来自 https://www.shiyanlou.com/
courses
/running/57 启动 $ sudo service mongodb start 进入MongoDB
·
2015-11-11 05:36
document
linux文件打包与压缩
整理来自 https://www.shiyanlou.com/
courses
/running/61 一、文件打包和解压缩 在讲 Linux 上的解压缩工具之前,有必要先了解以下常见常用的压缩包文件格式
·
2015-11-11 05:35
linux
linux环境变量与文件查找
整理来自 https://www.shiyanlou.com/
courses
/running/60 要解释环境变量,得先明白变量是什么,准确的说应该是 Shell 变量,所谓变量就是计算机中用于记录一个值
·
2015-11-11 05:34
linux
Linux 目录结构及文件基本操作
整理来自 https://www.shiyanlou.com/
courses
/running/59 在讲 Linux 目录结构之前,你首先要清楚一点东西,那就是 Linux
·
2015-11-11 05:34
linux
Linux学习笔记
整理来自 https://www.shiyanlou.com/
courses
/running/3  
·
2015-11-11 05:33
linux
Course Schedule
There are a total of n
courses
you have to take, labeled from 0 to n - 1.
·
2015-11-11 04:02
schedule
“Guess the number” game
项目描述:https://class.coursera.org/interactivepython-004/human_grading/view/
courses
/972072/assessments/29
·
2015-11-11 03:42
number
C++类实现三维数组算法
Programming》中,遇到了一个习题,花了很长时间研究,现在分享出来: 课题地址:https://class.coursera.org/pkupop-001/human_grading/view/
courses
·
2015-11-11 03:41
C++
hdu 1083
Courses
(二分图 )
#include<stdio.h> #define N 1000 #include<string.h> int result[N],map[N][N],vis[N],n,m; int dfs(int x) { int i; for(i=1;i<=m;i++) { if(!vis[i]&&map[
·
2015-11-11 01:11
HDU
Course Schedule ——LeetCode
There are a total of n
courses
you have to take, labeled from 0 to n - 1.
·
2015-11-11 01:53
LeetCode
哈密顿路及竞赛图
定理1:n(n>=2)阶竞赛图一定存在哈密顿通路 证明转载自http://web.nuist.edu.cn/
courses
/lssx/longtime/part4/chapter15/15_02
·
2015-11-11 00:16
图
国外著名大学公开课地址
国外著名大学公开课件网址 一、伯克利 加州大学伯克利分校 http://webcast.berkeley.edu/
courses
.php 作为美国第一的公立大学,伯克利分校提供了许多优秀教授的播客和视频讲座
·
2015-11-11 00:07
大学
1047. Student List for Course (25)
判题程序 Standard 作者 CHEN, Yue Zhejiang University has 40000 students and provides 2500
courses
·
2015-11-11 00:49
list
The Best Rank (25)(排名算法)
To evaluate the performance of our first year CS majored students, we consider their grades of three
courses
·
2015-11-11 00:19
rank
海量数据挖掘MMDS week7: 相似项的发现:面向高相似度的方法
http://blog.csdn.net/pipisorry/article/details/49742907海量数据挖掘MiningMassiveDatasets(MMDs)-JureLeskovec
courses
pipisorry
·
2015-11-09 19:00
海量数据挖掘
mmds
面向高相似度的方法
相似项
tutorial on JAva Tomcat and JSp Servlet
http://
courses
.coreservlets.com/Course-Materials/msajsp.html APACHE TOMCAT 6 APACHE TOMCAT
·
2015-11-09 12:29
servlet
20135201李辰希第九周实验报告
openclosereadwriteseekstat 4.掌握RIO5.掌握I/O重定向的方法二、学习资源1.教材:附录A,第10章《系统级I/O》2.课程资料:https://www.shiyanlou.com/
courses
20135201李辰希
·
2015-11-08 21:00
20135201李辰希第九周实验报告
openclosereadwriteseekstat 4.掌握RIO5.掌握I/O重定向的方法二、学习资源1.教材:附录A,第10章《系统级I/O》2.课程资料:https://www.shiyanlou.com/
courses
20135201李辰希
·
2015-11-08 21:00
第九周(11.02-11.08)学习笔记
openclosereadwriteseekstat4.掌握RIO掌握I/O重定向的方法二、学习资源教材:附录A,第10章《系统级I/O》课程资料:https://www.shiyanlou.com/
courses
Linkle
·
2015-11-08 17:00
第九周(11.02-11.08)学习笔记
openclosereadwriteseekstat4.掌握RIO掌握I/O重定向的方法二、学习资源教材:附录A,第10章《系统级I/O》课程资料:https://www.shiyanlou.com/
courses
Linkle
·
2015-11-08 17:00
poj 1469
COURSES
(二分图模板应用 【*模板】 )
COURSES
Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 18454 Accepted
·
2015-11-08 16:22
poj
[POJ] 2239 Selecting
Courses
(二分图最大匹配)
题目地址:http://poj.org/problem?id=2239 Li Ming大学选课,每天12节课,每周7天,每种同样的课可能有多节分布在不同天的不同节。问Li Ming最多可以选多少节课。把n种课划分为X集合,把一周的84节课划分为Y集合, 从Xi向Yi连边,那么就转化成了求二分图的最大匹配数,然后匈牙利算法就可以了。 1 #include<cstdio>
·
2015-11-08 15:22
select
R资源备忘
Material for R
courses
Feel free to download the following
·
2015-11-08 15:19
资源
SEED信息安全实验系列:缓冲区溢出漏洞实验
缓冲区溢出漏洞实验 本课程详细出自 http://www.shiyanlou.com/
courses
/231,转载请注明出处。
·
2015-11-08 14:05
信息安全
上一页
21
22
23
24
25
26
27
28
下一页
按字母分类:
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
其他