上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要:   思路: 今天复习数据库突然想起来leetcode上数据库的题目,就找来做了 (1)给表取别名 格式见code,这在自身连接的时候是很有必要的 (2)自身连接 from语句后面相当于接了“一张表”,如果是多个表,就相当于形成了他们的笛卡尔积 然后通过where语句选择出所需要的行,通过头上的sel 阅读全文
posted @ 2015-12-21 14:52 Miller_S 阅读(168) 评论(0) 推荐(0) 编辑
摘要:         阅读全文
posted @ 2015-12-09 09:23 Miller_S 阅读(348) 评论(0) 推荐(0) 编辑
摘要: Description Input Output Sample Input Sample Output 阅读全文
posted @ 2015-12-08 09:03 Miller_S 阅读(782) 评论(0) 推荐(0) 编辑
摘要: Lake Counting Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 25322 Accepted: 12759 Description Due to recent rains, water has pooled in va 阅读全文
posted @ 2015-12-05 11:50 Miller_S 阅读(847) 评论(0) 推荐(0) 编辑
摘要: Description When Xellos was doing a practice course in university, he once had to measure the intensity of an effect that slowly approached equilibriu 阅读全文
posted @ 2015-12-01 11:00 Miller_S 阅读(359) 评论(0) 推荐(0) 编辑
摘要: One day Squidward, Spongebob and Patrick decided to go to the beach. Unfortunately, the weather was bad, so the friends were unable to ride waves. How 阅读全文
posted @ 2015-11-28 11:16 Miller_S 阅读(278) 评论(0) 推荐(0) 编辑
摘要:           阅读全文
posted @ 2015-11-26 11:26 Miller_S 阅读(237) 评论(0) 推荐(0) 编辑
摘要: Mr. Kitayuta has just bought an undirected graph consisting of n vertices and m edges. The vertices of the graph are numbered from 1 to n. Each edge, 阅读全文
posted @ 2015-11-25 19:19 Miller_S 阅读(368) 评论(0) 推荐(0) 编辑
摘要: Description Input Output 对每一天的记录输出1行,即当天开门和关门人的证件号码,中间用1空格分隔。 注意:在裁判的标准测试输入中,所有记录保证完整,每个人的签到时间在签离时间之前, 且没有多人同时签到或者签离的情况。   思路: 比较时间还可以这么搞。。   阅读全文
posted @ 2015-11-24 19:43 Miller_S 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 Floyd–Warshall(简称Floyd算法)是一种著名的解决任意两点间的最短路径(All Paris Shortest Paths,APSP)的算法。从表面上粗看,Floyd算法是一个非常简单的三重循环,而且纯粹的Floyd算法的循环体内的语句也十分简洁。我认为, 正是由于“ 阅读全文
posted @ 2015-11-24 17:53 Miller_S 阅读(326) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页