题目链接:http://codeforces.com/problemset/problem/215/D Description The official capital and the cultural capital of Berland are connected by a single roa ...
分类:
其他好文 时间:
2017-06-04 09:41:34
阅读次数:
224
alter database dcdata set single_user with rollback immediate设置为单用户模式然后执行修复.DBCC CHECKTABLE(ZLBZSGPH,REPAIR_ALLOW_DATA_LOSS )DBCC CHECKTABLE(ZLBZSGPB, ...
分类:
数据库 时间:
2017-06-03 11:12:15
阅读次数:
228
1. Mixed membership model This model wants to discover a set of memberships In contrast, cluster models aim at discovering a single membership In clus ...
分类:
其他好文 时间:
2017-06-02 23:55:21
阅读次数:
258
Ilya is a frontman of the most famous rock band on Earth. Band decided to make the most awesome music video ever for their new single. In that music v ...
分类:
其他好文 时间:
2017-06-01 22:48:46
阅读次数:
308
OO的五大原则:SRP、OCP、LSP、DIP、ISP OO的五大原则是指SRP、OCP、LSP、DIP、ISP。 SRP -- (Single Responsibility Principle 单一职责原则) OCP——开闭原则(Closed for Modification; Open for ...
分类:
其他好文 时间:
2017-06-01 21:36:08
阅读次数:
185
忘记了上次在哪里找到这个功能库,只有一个 .h 和 .c 文件,再次搜索的时候发现找不到了,结果只能在之前的代码中,两个文件提出使用,顾将这两个文件备份在这里。 ...
报错信息解决办法重新插拔RIAD卡或者更换RIAD卡
分类:
其他好文 时间:
2017-05-31 19:13:53
阅读次数:
428
转自:http://joe5456536.blog.163.com/blog/static/8537477320117136658629/ http://www.cnblogs.com/devinzhang/archive/2012/04/27/2473570.html 静态方法与非静态方法区别使用 ...
分类:
其他好文 时间:
2017-05-31 16:37:57
阅读次数:
412
使用AlerDialog 创建对话框 : AlertDialog.Builder builder = new AlertDialog.Builder(this); 1.设置简单的对话框 builder.setIcon(R.drawable.icon); builder.setTitle("你确定要离 ...
分类:
其他好文 时间:
2017-05-30 19:39:33
阅读次数:
195
第一式 外观模式定义:为子系统的一组接口提供一个一致的界面,外观模式定义了一个高层接口,这一接口使得这一子系统更加容易使用。优点:松散耦合 简单易用 更好地划分访问的层次缺点:不应过度使用本质:封装交互 简单调用 第二式 适配器模式定义:将一个类的接口转换成客户希望的另外一个接口。适配器模式使得原本 ...
分类:
编程语言 时间:
2017-05-30 19:37:24
阅读次数:
188