一,两个函数的文档:1,xrange():xrange(stop)xrange(start, stop[, step])This function is very similar to range(), but returns an xrange object instead of a list. ...
分类:
其他好文 时间:
2015-08-08 22:46:41
阅读次数:
116
题目如下:
The ranklist of PAT is generated from the status list, which shows the scores of the submittions. This time you are supposed to generate the ranklist for PAT.
Input Specification:
E...
分类:
其他好文 时间:
2015-08-08 21:29:25
阅读次数:
113
情况描述其实这个问题已经困扰我很久了,最近在公司Linux上搭建hadoop 和 spark环境的时候,我就遇到 spark提交作业到yarn 集群就报错这个错,当时已经安装snappy环境了,任何关于snappy静态库都编译了,这是我提交到spark mail list上的http://apache-spark-user-list.1001560.n3.nabble.com/java-lang-U...
分类:
移动开发 时间:
2015-08-08 21:27:50
阅读次数:
383
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is1 -> 2 -> 3 -> ...
分类:
其他好文 时间:
2015-08-08 21:12:33
阅读次数:
120
动态删除元素给定一个ul列表,点击ul中子节点进行删除 1 window.onload = function() { 2 var list = document.getElementsByTagName("ul")[0].childNodes;...
分类:
其他好文 时间:
2015-08-08 19:43:18
阅读次数:
108
一、含义:ul:unorder listol:order listli:list itemdl:definition listdt:definition termdd:definition description二、属性start:ol用到的首序号style=“list-style-type:":定...
分类:
Web程序 时间:
2015-08-08 19:40:32
阅读次数:
100
根据写博客开始总有一些事情的习惯,加鸡汤文,今天请原谅我记得。=============================================今天要写的内容是顺序型容器。首先,标准库定义了三种顺序容器类型:vector,list和deque(双端队列),这篇博客介绍的是vector容器。首...
分类:
编程语言 时间:
2015-08-08 19:40:26
阅读次数:
153
LAMP环境编译准备工作禁用SElinux和防火墙 iptables -F简单的shell解压脚本[root@localhost xiaoming]# vi tar.sh#!/bin/shcd /rootls *.tar.gz > ls.listfor TAR in `cat ls.list`do ...
分类:
其他好文 时间:
2015-08-08 19:39:39
阅读次数:
172
1、题目名称 Largest Number(求整型数组中各元素可拼合成的最大数字) 2、题目地址 https://leetcode.com/problems/largest-number/ 3、题目内容 英文:Given a list of non negative integers, arrange them s...
分类:
其他好文 时间:
2015-08-08 18:32:33
阅读次数:
174
python 用list,dic当默认参的时候给我小心点。...
分类:
编程语言 时间:
2015-08-08 18:22:56
阅读次数:
155