• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
奚政
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 30 下一页

2017年3月20日

hdu1542 Atlantis 线段树--扫描线求面积并
摘要: There are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of these texts even include maps of parts of the i 阅读全文
posted @ 2017-03-20 23:07 奚政 阅读(199) 评论(0) 推荐(0)
 
hdu1540 Tunnel Warfare 线段树/树状数组
摘要: During the War of Resistance Against Japan, tunnel warfare was carried out extensively in the vast areas of north China Plain. Generally speaking, vil 阅读全文
posted @ 2017-03-20 23:04 奚政 阅读(268) 评论(0) 推荐(0)
 
hdu1535 Invitation Cards 最短路
摘要: 有一张图,若干人要从不同的点到同一个中间点,再返回,求总费用最小 中间点到各个点最小费用是普通的最短路 各个点到中间点最小费用其实就是将所有路径反向建边之后中间点到各个点的最小费用,同样用最短路就可以求出了 1 #include<stdio.h> 2 #include<string.h> 3 #in 阅读全文
posted @ 2017-03-20 22:43 奚政 阅读(200) 评论(0) 推荐(0)
 
hdu1358 Period KMP
摘要: 给出一个字符串,找出所有可以作为它循环节的子串长度 利用kmp的失配数组的性质,可以直接做 1 #include<stdio.h> 2 #include<string.h> 3 4 const int maxm=1e6+5; 5 6 char t[maxm]; 7 int p[maxm]; 8 9 阅读全文
posted @ 2017-03-20 22:38 奚政 阅读(187) 评论(0) 推荐(0)
 
SQL Server 向数据库中创建表并添加数据
摘要: 创建表,展开数据库中新建的数据库,下面有一个选项-表。在该选项上右键就可以选择-新建-表。 然后出现的界面上是需要自己填写列列名、数据类型和选择是否允许空值。 其中数据类型我是参考: http://www.w3school.com.cn/sql/sql_datatypes.asp 在填完各类之后,可 阅读全文
posted @ 2017-03-20 22:30 奚政 阅读(37598) 评论(0) 推荐(0)
 
初次实践数据库--SQL Server2016
摘要: 初学数据库使用 安装了SQL Server2016的开发者版本,本来以为就可以愉快地开始数据库的挖坑了,发现开出来之后除了创建数据库、选择数据库以外,并没有什么操作。 后来才发现还需要再安装SSMS(SQL Server Management Studio)才能进行数据库管理操作,否则只能进行数据库 阅读全文
posted @ 2017-03-20 22:22 奚政 阅读(382) 评论(0) 推荐(0)
 
 

2017年3月19日

hdu1301 Jungle Roads 最小生成树
摘要: The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between villages some years ag 阅读全文
posted @ 2017-03-19 04:47 奚政 阅读(157) 评论(0) 推荐(0)
 
hdu1281 棋盘游戏 二分图最大匹配
摘要: 小希和Gardon在玩一个游戏:对一个N*M的棋盘,在格子里放尽量多的一些国际象棋里面的“车”,并且使得他们不能互相攻击,这当然很简单,但是Gardon限制了只有某些格子才可以放,小希还是很轻松的解决了这个问题(见下图)注意不能放车的地方不影响车的互相攻击。 所以现在Gardon想让小希来解决一个更 阅读全文
posted @ 2017-03-19 04:43 奚政 阅读(194) 评论(0) 推荐(0)
 
hdu1255 覆盖的面积 线段树-扫描线
摘要: 矩形面积并 线段树-扫描线裸题 1 #include<stdio.h> 2 #include<string.h> 3 #include<algorithm> 4 #include<math.h> 5 using namespace std; 6 const int maxm=2e3+5; 7 con 阅读全文
posted @ 2017-03-19 04:39 奚政 阅读(174) 评论(0) 推荐(0)
 
hdu1238 Substrings 扩展KMP
摘要: You are given a number of case-sensitive strings of alphabetic characters, find the largest string X, such that either X, or its inverse can be found 阅读全文
posted @ 2017-03-19 04:37 奚政 阅读(773) 评论(0) 推荐(0)
 
 
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 30 下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3