Holedox Eating Problem Description Holedox is a small animal which can be considered as one point. It lives in a straight pipe whose length is L. Hole ...
分类:
其他好文 时间:
2017-07-22 16:43:15
阅读次数:
187
问题描写叙述 Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating let ...
分类:
其他好文 时间:
2017-07-21 22:12:31
阅读次数:
149
提到通过纯.Net读写Excel,一般首先想到的自然是大名鼎鼎的NPOI,就连微软官方的MSDN都有专门的一篇文章来介绍它的用法。今天在一个项目中使用到了导出报表为Excel的功能,便特地的试用了一下,感觉虽然它的功能够强大,但谈不上好用。可能是由于其起源与Java的POI的缘故,大部分的API还透 ...
分类:
其他好文 时间:
2017-07-21 20:38:29
阅读次数:
186
转换公式:毫米转英寸,英寸乘以DPI(每英寸点数) 1英寸 = 2.54 厘米 = 25.4 毫米 例子(600dpi):mm: 210x297 = px: 4961(210/25.4*600)x7016(297/25.4*600) Home > Paper Dimensions > A4 Pape ...
分类:
其他好文 时间:
2017-07-17 20:07:11
阅读次数:
344
mango db/no sql benefits 1. no requirement for script for creating tables. column and constraints 2. good for rich model expeciaaly aggregate root to ...
分类:
数据库 时间:
2017-07-10 20:07:52
阅读次数:
673
原题目: Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. ...
分类:
其他好文 时间:
2017-07-09 19:31:45
阅读次数:
177
基于版本jdk1.7.0_80 java.util.HashMap 代码如下 /* * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDEN ...
分类:
其他好文 时间:
2017-07-06 21:00:38
阅读次数:
297
前言:本来要使用实体拆分实现一对一,但发现查询时无法单独查询,影响效率,故改用手动建立一对一关系 例: 实体类: 对应的数据库为: 添加数据:(主体记录与依赖记录的 ID 将自动设置为相同值) 此时将生成两条SQL语句: 同时更新主体和依赖数据: 此时将生产四条SQL语句,两条查询,两条更新 单独更 ...
分类:
其他好文 时间:
2017-07-05 00:29:32
阅读次数:
218
P2896 [USACO08FEB]一起吃饭Eating Together 题目描述 The cows are so very silly about their dinner partners. They have organized themselves into three groups (c ...
分类:
其他好文 时间:
2017-07-04 21:47:46
阅读次数:
192
一、类的继承、派生和组合 继承是一种创建新类的方式,在Python中,新类可以继承一个或多个父类,父类又可称为基类或者超类,新建的类称为派生类或子类。 在Python3中,所有类都默认继承object,都是新式类。在Python2中,有经典类和新式类。没有继承object类以及object的子类的类 ...
分类:
其他好文 时间:
2017-07-04 21:44:31
阅读次数:
248