package com.tanlei.URL; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.O... ...
分类:
Web程序 时间:
2018-11-29 23:17:16
阅读次数:
252
http://www.a-site.cn/article/761794.html 如果你正走在读研的路上,不管是什么专业,日常生活中都少不了读文献、读文献和读文献。与其等到文献堆积如山,给阅读和使用带来无数小麻烦,不如从现在开始花一点点时间和精力,掌握一款文献管理工具,让自己的科研之路更愉快~ ” ...
分类:
其他好文 时间:
2018-11-29 20:19:05
阅读次数:
619
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. Example 1: Input: [3,0,1] Output ...
分类:
其他好文 时间:
2018-11-29 17:57:34
阅读次数:
177
Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the s ...
分类:
其他好文 时间:
2018-11-29 17:54:12
阅读次数:
219
A peak element is an element that is greater than its neighbors. Given an input array nums, where nums[i] ≠ nums[i+1], find a peak element and return ...
分类:
其他好文 时间:
2018-11-29 10:58:42
阅读次数:
188
ObjectInput/OutputStream 分别与FileOutputStream和FileInputStream一起使用时,可以为应用程序提供对对象的持久存储. 我们把对象以某种特定的编码格式写入称之为"序列化" 把写入的编码格式内容还原成对象称之为"反序列化" 被序列化的对象必须实现Ser ...
分类:
其他好文 时间:
2018-11-29 01:21:52
阅读次数:
118
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>DEMO</title> <script language="javascript" type="text/javascript"> fu ...
分类:
其他好文 时间:
2018-11-28 22:20:37
阅读次数:
229
https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/ Suppose an array sorted in ascending order is rotated at some pivot unknown to you ...
分类:
其他好文 时间:
2018-11-28 22:07:05
阅读次数:
165
hashlib 加密是不可逆的,对于同一个字符串,同一种算法,计算的结果永远是相同的,对于不同的字符串,计算的结果总是不同的 会把任意长度的数据转换为一个长度固定的数据串(通常用16进制的字符串表示) 计算一个字符串的MD5值 如果数据量很大,可以分块多次调用update(),最后计算的结果是一样的 ...
分类:
其他好文 时间:
2018-11-28 20:36:01
阅读次数:
179
模块导入: from math import pi as math_pi print math_pi #相当于把pi取了个别名 ...
分类:
编程语言 时间:
2018-11-28 17:28:29
阅读次数:
186