1、开始数据结构如下:2、转为如下图:使用如下SQL语句:---横向转丛向select name '姓名', max(case when course='语文' then score end) as '语文', max(case when course='数学' then sco...
分类:
数据库 时间:
2014-08-08 12:23:35
阅读次数:
297
By default, the action bar appears at the top of your activity window, slightly reducing the amount of space available for the rest of your activity's layout. If, during the course of user interaction, you want to hide and show the action bar, you can do s...
分类:
移动开发 时间:
2014-08-07 03:07:19
阅读次数:
344
一、数据表
Student(S#,Sname,Sage,Ssex) 学生表 S#:学号;Sname:学生姓名;Sage:学生年龄;Ssex:学生性别
Course(C#,Cname,T#) 课程表 C#,课程编号;Cname:课程名字;T#:教师编号
SC(S#,C#,score) 成绩表 S#:学号;C#,课程编号;score:成绩
Teacher(T#,Tname) 教师表 T#:教师编号; Tname:教师名字...
分类:
数据库 时间:
2014-08-06 22:56:32
阅读次数:
450
2D DP is an intuitive solution of course, but I got an MLE error, so I simplified it into a 1D DP:class Solution {public: void goDp(vector &dp, int...
分类:
其他好文 时间:
2014-08-06 06:14:40
阅读次数:
196
话说好久没写Sql了,结果和其他小组的同事写Sql的时候遭到鄙视了,看来Sql是永远不能丢的,有时间就要温习一下。创建3张表:Rel_SutAndCourse,T_Course,T_Stu为3张表填充数据:----Studentbegin transactioninsert T_Stu(StuCod...
分类:
数据库 时间:
2014-08-04 13:41:57
阅读次数:
340
Problem Description
Bessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible from the N (1 ≤ N ≤ 3,402) available c...
分类:
其他好文 时间:
2014-08-01 16:12:31
阅读次数:
248
Student(S#,Sname,Sage,Ssex)学生表Course(C#,Cname,T#)课程表SC(S#,C#,score)成绩表Teacher(T#,Tname)教师表create tableStudent(S#varchar(20),Snamevarchar(10),Sageint,S...
分类:
数据库 时间:
2014-07-31 12:43:06
阅读次数:
426
回顾第一次敲机房收费,自己调用了api函数实现了父窗体及其子窗体最小化的功能,如今再次遇到,自己就在思考,能不能继续使用API函数呢?答案当然是Of Course!...
Problem Description
ACboy has N courses this term, and he plans to spend at most M days on study.Of course,the profit he will gain from different course depending on the days he spend on it.How to ar...
分类:
其他好文 时间:
2014-07-29 14:57:28
阅读次数:
292
章节:自动化基础篇——自动化预备知识上&&下网易云课堂:上:http://study.163.com/course/courseLearn.htm?courseId=712011#/learn/video?lessonId=877113&courseId=712011下:http://study.1...
分类:
移动开发 时间:
2014-07-29 10:52:56
阅读次数:
885