B - Stone Monument Time limit : 2sec / Memory limit : 256MB Score : 200 points Problem Statement In some village, there are 999 towers that are 1,(1+2 ...
分类:
其他好文 时间:
2018-06-11 00:31:32
阅读次数:
183
select US.QQ,US.tel,US.username,SC.EnglishScore,SC.MathScorefrom Userinfor US right join Score SC on US.UserID=SC.UserID select US.QQ,US.tel,US.userna ...
分类:
数据库 时间:
2018-06-10 15:17:24
阅读次数:
180
1.绑定方法 给所有实例都绑定方法,可以给class绑定方法: >>> def set_score(self, score): ... self.score = score ... >>> Student.set_score = set_score 给class绑定方法后,所有实例均可调用。 2.使 ...
分类:
编程语言 时间:
2018-06-08 12:15:12
阅读次数:
220
基本统计: from pandas import read_csv; data = read_csv('D:\\PA\\8.1\\data.csv') data.score.describe() data.score.size data.score.max(); data.score.min; da ...
分类:
其他好文 时间:
2018-06-06 22:10:26
阅读次数:
229
Redis ZSet常用命令 zadd key score member[{score member}...] 创建或设置指定key对应的有序集合,根据每个值对应的score来排名,升序。例如有命令 zadd key1 10 A 20 B 30 D 40 C;那么真实排名是 A B D C zrem ...
分类:
其他好文 时间:
2018-06-06 01:02:07
阅读次数:
249
一、 设有一数据库,包括四个表:学生表(Student)、课程表(Course)、成绩表(Score)以及教师信息表(Teacher)。四个表的结构分别如表1-1的表(一)~表(四)所示,数据如表1-2的表(一)~表(四)所示。用SQL语句创建四个表并完成相关题目。 表1-1数据库的表结构 表(一) ...
分类:
数据库 时间:
2018-06-05 23:21:50
阅读次数:
247
原帖链接:http://bbs.csdn.net/topics/280002741 表架构 Student(S ,Sname,Sage,Ssex) 学生表 Course(C ,Cname,T ) 课程表 SC(S ,C ,score) 成绩表 Teacher(T ,Tn ...
分类:
数据库 时间:
2018-06-05 16:25:33
阅读次数:
192
D - Card Eater Time limit : 2sec / Memory limit : 256MB Score : 400 points Problem Statement Snuke has decided to play a game using cards. He has a de ...
分类:
其他好文 时间:
2018-06-03 00:53:16
阅读次数:
198
-- 查询“生物”课程比“物理”课程成绩高的所有学生的学号; -- 方法一 select * from score a LEFT JOIN course b on a.course_id = b.cid where b.cname='生物' select * from score a LEFT JO... ...
分类:
其他好文 时间:
2018-06-02 17:42:41
阅读次数:
541
student = [{"no": 1,"score": 90},{"no": 2,"score": 90},{"no": 3,"score": 88},{"no": 4,"score": 92}] # 单级排序,仅按照score排序 student_sort_1 = sorted(student,... ...
分类:
编程语言 时间:
2018-06-02 11:18:16
阅读次数:
321