Is It A Tree? Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 31092 Accepted: 10549 Description A tree is a well-known data structure that ...
分类:
其他好文 时间:
2017-01-30 14:50:04
阅读次数:
285
[codeforces724E]Goods transportation 试题描述 There are n cities located along the one-way road. Cities are numbered from 1 to n in the direction of the r ...
分类:
其他好文 时间:
2017-01-22 19:28:28
阅读次数:
201
On every June 1st, the Children's Day, there will be a game named "crashing balloon" on TV. The rule is very simple. On the ground there are 100 label ...
分类:
其他好文 时间:
2017-01-21 13:05:45
阅读次数:
242
封装就是将相关的方法或者属性抽象成为一个对象。 封装的意义: 当代码中包含许多条件判断,为了改善代码的可读性和可维护性,我们可以将条件封装。 有两种封装方式: 一、无参数的条件判断,封装为属性 重构前代码 public class RemoteControl { private string[] F ...
分类:
其他好文 时间:
2017-01-17 14:02:09
阅读次数:
208
今天配置实体类注解时,出现以下错误: org.hibernate.MappingException: Could not determine type for: com.oneToOne.IdCard, at table: T_Students, for columns: 解决方案:注解要么写在字段 ...
分类:
Web程序 时间:
2017-01-11 07:45:08
阅读次数:
177
if ([CLLocationManager locationServicesEnabled] && ([CLLocationManager authorizationStatus] == kCLAuthorizationStatusAuthorizedWhenInUse || [CLLocatio... ...
分类:
其他好文 时间:
2017-01-06 15:11:24
阅读次数:
198
COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE NINTH EDITION Software cache coherence schemes attempt to avoid the need for addition ...
分类:
系统相关 时间:
2017-01-05 15:25:48
阅读次数:
216
参考博文:http://blog.csdn.net/xiaoxiaopengbo/article/details/51583386 1、时间频度:一个算法执行所消耗的时间。理论上要进行上机测试,但是实际上只需要知道那个算法消耗时间少,那个算法消耗时间多。算法花费时间和执行次数正比(???万一某条语句 ...
分类:
其他好文 时间:
2017-01-03 22:15:57
阅读次数:
243
1背景 由于开发环境只有局域网,没法使用网上的各种YUM源,来回拷贝rpm包安装麻烦,还得解决依赖问题。 想着搭建个本地/局域网YUM源,方便自己跟同事安装软件。 2环境 并且是Minimal Install。 3安装 3.1本地YUM源 3.1.1 ISO源 准备rpm包 挂载CentOS-7-x ...
分类:
其他好文 时间:
2016-12-20 07:30:14
阅读次数:
271
Django admin 权威指南(一) 版本: Django 1.10 此部分由官方文档《6.5.1 The Django admin site》翻译而来。 6.5.1.1 概览 默认情况下,使用startproject的时候,admin就被激活了。 如果需要手动启用,请按下面的需求和要点进行操作 ...
分类:
其他好文 时间:
2016-12-19 08:30:24
阅读次数:
1284