码迷,mamicode.com
首页 >  
搜索关键字:school    ( 1239个结果
CodeForces 450
A -Jzzhu and ChildrenTime Limit:1000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uDescriptionThere arenchildren in Jzzhu's school. Jzzhu is goin...
分类:其他好文   时间:2015-03-18 15:46:41    阅读次数:234
hdu 2426 Interesting Housing Problem 最大权匹配KM算法
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2426For any school, it is hard to find a feasible accommodation plan with every student assigned to a s...
分类:编程语言   时间:2015-03-15 13:37:30    阅读次数:166
(简单) POJ 2502 Subway,Dijkstra。
Description You have just moved from a quiet Waterloo neighbourhood to a big, noisy city. Instead of getting to ride your bike to school every day...
分类:其他好文   时间:2015-03-15 00:37:38    阅读次数:184
HDU 1074 Doing Homework(状态压缩 + DP)
Problem Description: Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignatius hands in...
分类:其他好文   时间:2015-03-14 15:29:51    阅读次数:171
数据库case,when学习
前几天工作中遇到了一个数据库统计相关的东西,主要使用case,when实现,现在说说基本情况: 有两个表school,studens,其中 school表结构如下: students表结构如下: 其中sex=1代表男,sex=2代表女 现要求出现如下的结果集: 学校id,学校名,学校总人数,男生总人数,女生总人数 方案: 1,将school表和students表分别查询统计出...
分类:数据库   时间:2015-03-13 16:36:19    阅读次数:138
poj2771 二分图的最大独立集
http://poj.org/problem?id=2771 Description Frank N. Stein is a very conservative high-school teacher. He wants to take some of his students on an excursion, but he is afraid that some of them mi...
分类:其他好文   时间:2015-03-10 17:15:41    阅读次数:122
Caused by:org.hibernate.HibernateException:Unable to make JDBC Connection
1、错误描述 Caused by:org.hibernate.HibernateException:Unable to make JDBC Connection[jdbc\:mysql\://localhost\:3306/school] 2、错误原因 在hibernate.cfg.xml中配置数据库路径时 jdbc\:mysql://localhost\:3306/sch...
分类:数据库   时间:2015-03-09 22:28:52    阅读次数:196
查询几所学校特定时间的相关数据
今天自己写的一条SQL语句,用到了表连接和临时表,语法供自己以后参考。SELECT us.school_name 学校名称, CONCAT( ug.grade_name, uc.classes_name ) 年级班级, uu.user_id 用户I...
分类:其他好文   时间:2015-03-09 14:20:04    阅读次数:131
PAT:1080. Graduate Admission (30) AC
#include#include#includeusing namespace std;struct Student{ int GE,GI,sum,rank,ID; int prefer[6];}STU[40066];struct School{ int want; //各学校招...
分类:其他好文   时间:2015-03-07 16:57:51    阅读次数:134
mysql 建库建表建用户
1.创建数据库create database school;2.使用数据库Use school;3.创建用户create user jame@localhost identified by 'jame';4.授权用户(注意这里是用了*哦,可以自己讲school也替换成*号)grant select,...
分类:数据库   时间:2015-03-06 20:34:35    阅读次数:154
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!