use School if exists (select*from sysobjects where name='Teacher')drop table Teacher gocreate table Teacher(Id int primary key identity(1,1), --参数第一个种...
分类:
数据库 时间:
2015-03-19 21:54:52
阅读次数:
165
无聊水水~,二分图染色
#include
#include
#include
using namespace std;
int n,m;
vector >v(3000);
int col[3000];int marks=1;
void dfs(int u)
{
for(int i=0;i<v[u].size();i++)
{
int to=v[u][i];
...
分类:
其他好文 时间:
2015-03-19 16:29:06
阅读次数:
151
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
题目链接: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
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
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实现,现在说说基本情况:
有两个表school,studens,其中
school表结构如下:
students表结构如下:
其中sex=1代表男,sex=2代表女
现要求出现如下的结果集:
学校id,学校名,学校总人数,男生总人数,女生总人数
方案:
1,将school表和students表分别查询统计出...
分类:
数据库 时间:
2015-03-13 16:36:19
阅读次数:
138
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
AngularJS处理数据表格使用 np-repeat 指令 ... {{ subject.name }} {{ subject.marks }} ...数据对象 1 $scope.student = { 2 fi...
分类:
Web程序 时间:
2015-03-10 16:45:14
阅读次数:
228
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