[codeforces538E]Demiurges Play Again 试题描述 Demiurges Shambambukli and Mazukta love to watch the games of ordinary people. Today, they noticed two men w ...
分类:
其他好文 时间:
2017-01-31 19:21:53
阅读次数:
298
Learn from yesterday, live for today, look to tomorrow. 学习昨天,活在今天,展望明天。 There is always room at the top. 即使到达顶峰,也还有进步的空间。 ...
分类:
其他好文 时间:
2017-01-26 00:08:33
阅读次数:
193
algoritm.in / algoritm.out Even though he isn't a student of computer science, Por Costel the pig has started to study Graph Theory. Today he's learni ...
分类:
其他好文 时间:
2017-01-22 07:56:39
阅读次数:
304
iOS自带三种日历,公历、佛教日历和日本日历,要设置日历可以进入"设置-通用-语言与地区-日历"设置,我们中国使用的iPhone默认设置成公历。而泰国人使用的iPhone默认设置的日历是佛教日历。这样会导致同样的代码在国内显示正常,去泰国就仿佛穿越了一般。 问题:使用NSDate *today = ...
分类:
移动开发 时间:
2017-01-19 22:54:32
阅读次数:
309
日期比较函数 记录下 Comparing date in Swift ...
分类:
编程语言 时间:
2017-01-14 11:02:07
阅读次数:
165
Python 杂记,是自己经常联系和写脚本是使用的一些小的语句 1:时间 import datetime #获取当前时间 print datetime.datetime.now() #获取昨天的时间 time = datetime.datetime.today()-datetime.timedelt ...
分类:
编程语言 时间:
2017-01-13 00:50:34
阅读次数:
157
Angular2的视图是动态的,在不修改绑定到UI上的源数据的情况下,我们可以通过指令来改变数据的是否呈现,呈现形式,呈现样式。 (1).Angular2提供的最常用的指令是: 1.*ngIf='expression',通过expression的运算结果加载或者写在当前元素. 2.*ngFor='e ...
分类:
其他好文 时间:
2017-01-09 18:42:42
阅读次数:
149
$timeout 服务 AngularJS $timeout 服务对应了 JS window.setTimeout 函数。 实例 两秒后显示信息: var app = angular.module('myApp', []);app.controller('myCtrl', function($sco ...
分类:
Web程序 时间:
2016-12-29 13:33:08
阅读次数:
161
1.在讲js获取给定月份的N个月后的日期之前,小颖先给大家讲下getFullYear()、getYear()的区别。 ①getYear() 打印结果为:116 小颖百度了下,js中Date对象getYear()方法和getFullYear()方法区别,比如:JS中Date对象getYear()方法和 ...
分类:
Web程序 时间:
2016-12-27 13:48:53
阅读次数:
382
抓取知乎今日最热和本月最热的前三个问题及每个问题的首个回答,保存至html文件,该html文件的文件名应该是20160228_zhihu_today_hot.html,也就是日期+zhihu_today_hot.html代码如下:fromseleniumimportwebdriver
fromtimeimportsleep
importtime
classZhiHu():
def__init_..
分类:
编程语言 时间:
2016-12-23 19:48:51
阅读次数:
249