题目链接:http://poj.org/problem?id=1860 Description Several currency exchange points are working in our city. Let us suppose that each point specializes i ...
分类:
其他好文 时间:
2016-06-18 15:33:56
阅读次数:
173
1065 - Number Sequence PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Let's define another number sequence, given by the f ...
分类:
其他好文 时间:
2016-06-17 22:31:30
阅读次数:
311
A Basic Example Now that the Knockout library is installed, let’s get right to an example of using it. Knockout works with ViewModels, which are compr ...
分类:
Web程序 时间:
2016-06-15 23:55:15
阅读次数:
214
该脚本用bash实现对本地mysql指定数据库的所有表结构导出到excel中。#!/bin/bashDB=$*#获取指定的数据库名TBNUM=`echo"showtablesfrom$*;"|mysql-uroot-ppassword|wc-l`let"TBNUM=$TBNUM-1"#获取表个数TABLES=`echo"showtablesfrom$*;"|mysql-uroot-ppassword|tail-n$TBNUM`#获..
分类:
数据库 时间:
2016-06-15 12:51:04
阅读次数:
343
1. 相比较于Java,Swift中属性很有意思,有很多分类:存储属性、计算属性和类型属性等等。 2. 存储属性 存储属性:一个存储属性就是存储在特定类或结构体的实例里的一个常量或变量,存储属性可以是变量存储属性(用关键字var定义),也可以是常量存储属性(用关键字let定义)。 如果创建了一个结构 ...
分类:
编程语言 时间:
2016-06-15 10:49:35
阅读次数:
212
ES6中提供了块级作用域,分别是let和const,该随笔分别介绍了它们 ...
分类:
其他好文 时间:
2016-06-13 23:39:51
阅读次数:
384
Phone List Description Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let's say th ...
分类:
其他好文 时间:
2016-06-13 17:15:12
阅读次数:
107
iOS开发Swift篇—(五)元组类型 一、元组类型介绍 1.什么是元组类型 元组类型由 N个 任意类型的数据组成(N >= 0),组成元组类型的数据可以称为“元素” 示例: let position = (x : 10.5, y : 20) // position有2个元素,x、y是元素的名称 l ...
分类:
移动开发 时间:
2016-06-13 15:14:41
阅读次数:
200
iOS开发Swift篇—(三)字符串和数据类型 一、字符串 字符串是String类型的数据,用双引号""包住文字内容 let website = "http://www.wendingding.com" 1.字符串的常见操作 (1)用加号 + 做字符串拼接 let scheme = "http:// ...
分类:
移动开发 时间:
2016-06-13 15:04:50
阅读次数:
237
11.1 JavaScript的子集 11.1.1 精华 11.1.2 子集的安全性 11.2 常量和局部变量 <script type="text/javascript"> //关键字let有4种使用方法 //可以作为变量声明,和var一样 //在for或for/in循环中,作为var的代替方案 ...
分类:
编程语言 时间:
2016-06-13 14:58:02
阅读次数:
157