MySQL按时间统计每个小时记录数 方案1: ?1234567SELECT @rownum := @rownum + 1 AS ID, CONCAT((CASE WHEN t.hour = 24 ...
分类:
数据库 时间:
2018-04-09 14:59:08
阅读次数:
168
ZOJ3958 :Cooking Competition ZOJ3958 :Cooking Competition Time Limit:1000MS Memory Limit:65536KByte 64 IO Format:%lld & %llu Description "Miss Kobayas ...
分类:
其他好文 时间:
2018-04-09 11:10:25
阅读次数:
282
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=1316 Recall the definition of the Fibonacci numbers: f1 := 1 f2 := 2 fn := fn-1 + fn-2 (n >= 3) Given ...
分类:
其他好文 时间:
2018-04-08 21:19:33
阅读次数:
154
"dockerfile reference" 1. defination docker can build images automatically by reading the instructions from a dockerfile. dockerfile is a text documen ...
分类:
其他好文 时间:
2018-04-08 18:04:19
阅读次数:
149
一、概述 此文的目的就是为了帮助初步接触SSO和CAS 的人员提供一个入门指南,一步一步演示如何实现基于CAS的单点登录。 CAS的官网:http://www.jasig.org/cas 二、演示环境 本文演示过程在同一个机器上的(也可以在三台实体机器或者三个的虚拟机上),环境如下: windows ...
分类:
其他好文 时间:
2018-04-08 16:05:24
阅读次数:
137
三、Maven入门(一)创建工程1. 选择菜单"> File ->new -> Other 选择">Maven下的">Maven Project, Next2. 选中下图红框部分的复选框(跳过骨架),">next 3. 定义工程坐标">maven对所有工程管理基于坐标进行管理。">坐标包括:">Gr... ...
分类:
其他好文 时间:
2018-04-08 14:30:01
阅读次数:
196
先将 afn 用pod导入到 工程中 创建一个类 ZHttpTools 继承自 AFHTTPSessionManager 一般我们不希望网络请求同时有多个存在,所以我们将这个工具类 设计成单例 代码如下(这个单例是严格仿照 ios的代码写的,你如果说这是个不严谨的单例,要调用allocWithZon ...
分类:
编程语言 时间:
2018-04-08 13:13:10
阅读次数:
508
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Net.Sockets; 6 using System.IO; 7 8 names... ...
Relatives Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 15708 Accepted: 7966 Description Given n, a positive integer, how many positive i ...
分类:
其他好文 时间:
2018-04-08 00:18:12
阅读次数:
163
常用的两种 utf8_general_ci 按照普通的字母顺序,而且不区分大小写(比如:a B c D)utf8_bin 按照二进制排序(比如:A排在a前面,B D a c) ci是 case insensitive, 即 "大小写不敏感", a 和 A 会在字符判断中会被当做一样的。 bin 是二 ...
分类:
数据库 时间:
2018-04-08 00:13:16
阅读次数:
229