1.window对象的常用属性: history 有关客户访问过的URL的信息 location 有关当前URL的信息 //实现浏览器刷新,前进,后退功能 2.js中属性的语法格式 : window.属性名="属性值" 例:window.location ="http://www.sohu.com" ...
分类:
Web程序 时间:
2018-01-12 17:43:30
阅读次数:
158
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <link rel="stylesheet" href="css/demo5.css"></head><body> <div cl ...
分类:
其他好文 时间:
2018-01-12 17:02:42
阅读次数:
120
Given an integer, write an algorithm to convert it to hexadecimal. For negative integer, two’s complement method is used. Note: Example 1: Example 2: ...
分类:
其他好文 时间:
2018-01-12 13:26:54
阅读次数:
145
n<=200000的树,给dfs序和bfs序,问所有可能情况的平均树深。 有点懵的题。。 根据bfs序进行1-n的编号之后,可以通过在bfs序中划层来考察层数。也就是说答案和划层行动的进行的可行度息息相关。所以现在把目光放在数组$x_i$,表示i和i+1(按bfs序重编号后)是否在同一层。 首先,记 ...
分类:
其他好文 时间:
2018-01-12 13:23:30
阅读次数:
141
import smtplibimport stringfrom email.mime.text import MIMETextfrom email.utils import formataddrhost = 'smtp.263.net' ##定义smtp主机SUBJECT = "test smtpl... ...
分类:
编程语言 时间:
2018-01-12 13:20:28
阅读次数:
157
1 Could you tell me more about your idea? 2 Could I hear more about your idea? 3 Could you expain your idea in more detail? 4 Tell me more about your ...
分类:
其他好文 时间:
2018-01-12 13:19:19
阅读次数:
108
二级联动代码实现 arrays.xml文件: 点击变颜色: <item android:color="@android:color/darker_gray" android:state_checked="false" /> <item android:color="@color/c_1E7FFF" ...
分类:
其他好文 时间:
2018-01-12 11:36:10
阅读次数:
159
Description 在某块平面土地上有N个点,你可以选择其中的任意四个点,将这片土地围起来,当然,你希望这四个点围成 的多边形面积最大。 在某块平面土地上有N个点,你可以选择其中的任意四个点,将这片土地围起来,当然,你希望这四个点围成 的多边形面积最大。 Input 第1行一个正整数N,接下来N ...
分类:
其他好文 时间:
2018-01-12 11:35:17
阅读次数:
124
一、环境配置: 我并没有按照书上的安装方法去安装Tensorflow,选择了一种偷懒的方式,因为先安装了Anaconda,所以直接:conda install tensorflow。因为台式机是集成显卡,没有安装NVDIA的显卡,所以没有使用GPU版本的。目前看起来没什么问题,但是肯定还是要重装的。 ...
分类:
其他好文 时间:
2018-01-12 00:02:58
阅读次数:
116
References: [1] http://rick-hightower.blogspot.co.uk/2014/04/which-is-faster-java-object.html [2] https://www.darkreading.com/informationweek-home/why ...
分类:
编程语言 时间:
2018-01-12 00:02:23
阅读次数:
132