码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
python基础语法
python编码规范编程风格语法要求: 缩进统一 变量标识符的第一个字符必须是字母表中的字母(大写或小写)或者一个下划线(‘_’) 标识符名称的其他部分可以由字母(大写或小写)、下划线('_')或数字(0-9)组成。 标识符名称是对大小写敏感的。例如,myname和myName不是一个标识符。注意前... ...
分类:编程语言   时间:2017-10-17 00:20:11    阅读次数:337
爬虫 BeautifulSoup
BeautifulSoup是用于解析html/xml的python库。它将html解析为树结构。每一个接节点都是一个python对象。 在这棵树上,共有四种对象:Tag, NavigableString, BeautifulSoup, Comment. 本随笔仅为学习笔记,欢迎大家交流和指出错误 T ...
分类:其他好文   时间:2017-10-17 00:13:16    阅读次数:230
[译]Javascript中的循环
本文翻译youtube上的up主kudvenkat的javascript tutorial播放单 源地址在此: https://www.youtube.com/watch?v=PMsVM7rjupU&list=PL6n9fhu94yhUA99nOsJkKXBqokT3MBK0b Javascript ...
分类:编程语言   时间:2017-10-16 23:30:05    阅读次数:250
Association, Composition and Aggregation
An Example of Association, Composition and Aggregation in Java Here is an example of composition and aggregation, in terms of Java Code. By looking at ...
分类:其他好文   时间:2017-10-16 23:29:29    阅读次数:417
SHA加密算法工具类
1、利用Apache的工具类实现加密: maven: 实现代码: 2、利用java自带的实现加密: 扩展链接: https://mp.weixin.qq.com/s?__biz=MzIxMjE5MTE1Nw==&mid=2653191642&idx=1&sn=47c6340a6664af2f62e6 ...
分类:编程语言   时间:2017-10-16 23:22:48    阅读次数:314
Leetcode 669. Trim a Binary Search Tree
Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies in [L, R] (R >= L). You might ...
分类:其他好文   时间:2017-10-16 23:20:36    阅读次数:174
344. Reverse String
Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh". 题目含义:翻转字符串 ...
分类:其他好文   时间:2017-10-16 23:19:57    阅读次数:95
lintcode671 循环单词
循环单词 The words are same rotate words if rotate the word to the right by loop, and get another. Count how many different rotate word sets in dictionary ...
分类:其他好文   时间:2017-10-16 22:14:22    阅读次数:205
使用 IntelliJ IDEA 自定义注释样式
1.选择 File -> Settings -> Editor -> 进入如下页面 首先设置 File and Code Templates : 文本内容: 说明: 该配置应用于新建文件时,自动设置的文件头部注释格式 其次设置 Live Templates : 1. 先点击 "+" 创建一个名为: ...
分类:其他好文   时间:2017-10-16 22:08:56    阅读次数:271
[BZOJ4725][POI2017]Reprezentacje ró?nicowe
4725: [POI2017]Reprezentacje ró?nicowe Description 给定一个数列a: 当n<=2时,a[n]=n 当n>2,且n是奇数时,a[n]=2a[n-1] 当n>2,且n是偶数时,a[n]=a[n-1]+r[n-1] 其中r[n-1]=mex(|a[i]-a ...
分类:其他好文   时间:2017-10-16 22:03:37    阅读次数:134
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!