题目链接:http://lightoj.com/volume_showproblem.php?problem=1032 1032 - Fast Bit Calculations PDF (English) Statistics Forum Time Limit: 2 second(s) Memory ...
分类:
其他好文 时间:
2016-10-06 22:36:04
阅读次数:
211
Description There are three friend living on the straight line Ox in Lineland. The first friend lives at the point x1, the second friend lives at the ...
分类:
其他好文 时间:
2016-10-06 16:49:32
阅读次数:
140
poc来源为 exploit-db 测试环境为WINDOWS SP3 首先打开windows media player windbg附加 开启页堆 !gflag +hpa 0:011> g(7f0.2f8): Access violation - code c0000005 (!!! second ...
分类:
其他好文 时间:
2016-10-06 14:48:28
阅读次数:
234
本节目录: 一个例子 API component生命周期 备注1:仅模板式的component 备注2:component虚拟绑定 备注3:传递标记到component绑定 内存管理 一个例子 First instance, without parameters Second instance, p... ...
Time module: 1. Time() meaning how many second passed after year 1970.(epoch) 2. Gmtime()(takes one argument) function convert the timestamp to struct ...
分类:
编程语言 时间:
2016-10-05 07:18:14
阅读次数:
126
There are three friend living on the straight line Ox in Lineland. The first friend lives at the point x1, the second friend lives at the pointx2, and ...
分类:
其他好文 时间:
2016-10-04 01:41:20
阅读次数:
172
Description There are three friend living on the straight line Ox in Lineland. The first friend lives at the point x1, the second friend lives at the ...
分类:
其他好文 时间:
2016-10-03 23:40:11
阅读次数:
343
Linux中变量$#,$@,$0,$1,$2,$*,$$,$?的含义我们先写一个简单的脚本,执行以后再解释各个变量的意义脚本内容如下:[root@oldboy~]#cattest.txt
#!/bin/bash
echo"number:$#"
echo"scname:$0"
echo"first:$1"
echo"second:$2"
echo"argume:$@"
echo"showparmlist:$*"
echo"showpr..
分类:
系统相关 时间:
2016-09-28 16:53:21
阅读次数:
163
assertEqual(first, second, msg=None)测试第一个和第二个是否是相等的,如果值不相等测试失败。msg 是否可选有参数,用于定义测试失败所要提示的信息 assertNotEqual(first, second, msg=None)assertNotEqual()的判断与 ...
分类:
其他好文 时间:
2016-09-27 11:42:43
阅读次数:
154
datetime模块包括一些函数和类,用于完成日期和时间的解析、格式化和相关的运行#!/usr/bin/envpython
#coding:utf-8
importdatetime
t=datetime.time(1,2,3)
printt#01:02:03
printt.hour#1
printt.minute#2
printt.second#3
printt.microsecond#0
printt.tzinfo#None
printd..
分类:
其他好文 时间:
2016-09-27 07:01:45
阅读次数:
123