描述 Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let's say the phone catalogue li ...
分类:
其他好文 时间:
2018-05-27 16:24:59
阅读次数:
154
/** * 基数排序 */ @Test public void RadioSort(){ int[] array = {123,345,5555,66666,764,12,33,455}; int maxLength = maxLength(array); int[] newArray = sort ...
分类:
编程语言 时间:
2018-05-27 14:45:00
阅读次数:
200
You are given a broken clock. You know, that it is supposed to show time in 12- or 24-hours HH:MM format. In 12-hours format hours change from 1 to 12 ...
分类:
其他好文 时间:
2018-05-26 21:19:53
阅读次数:
145
# Author: yeshengbao # -- coding: utf-8 -- # @Time : 2018/5/24 21:38 import datetime import requests import os import hashlib from multiprocessing imp... ...
分类:
编程语言 时间:
2018-05-25 00:25:32
阅读次数:
240
使用HTML和CSS实现以下页面: 抽屉首页 个人博客首页 小米官网首页 登录注册页面 一、抽屉首页 1.实现目标:https://dig.chouti.com/ 2.代码: HTML: CSS: 二、个人博客首页 三、小米官网首页 四、登陆注册页面 ...
分类:
Web程序 时间:
2018-05-23 14:23:42
阅读次数:
235
1.如何在列表,字典,集合中根据条件筛选数据? 如: 过滤列表[3, 9, -1, 10, 20, -2...]中的负数 筛出字典{‘小明’:70, 'Jim':88,'Tom':98...}中值高于90的项 筛出集合(2,3,5,7,8,12,23...)中能被3整除的元素 像第一种过滤列表中的负 ...
分类:
编程语言 时间:
2018-05-23 02:22:17
阅读次数:
205
缺少libstdc++.so.6库的原因及解决办法 解决办法: 一、安装库1. 查看哪个安装包包含该库:yum provides libstdc++.so.6 libstdc++-4.4.7-4.el6.i6862. 根据提示安装 libstdc++-4.4.7-4.el6.i686 yum ins ...
分类:
数据库 时间:
2018-05-22 23:52:05
阅读次数:
209
交互类型 Windows安装mysql-python: Linux 安装python-mysql 引入模块: 查看: Connection对象 用于建立与数据库的连接 创建对象:调用connect()方法 语法: 参数: 对象的方法 Cursor对象 执行sql语句 创建对象:调用Connectio ...
分类:
数据库 时间:
2018-05-21 16:20:04
阅读次数:
185
2. DNS 系统基础 转载至:http://blog.163.com/hlz_2599/blog/static/1423784742011616103922517/ 这里另外加上一个自己包名的一个命令 dig host nslookup 这些命令都是由bind-utiils这个rpm包提供的 In ...
分类:
其他好文 时间:
2018-05-21 14:33:33
阅读次数:
368
4034: [HAOI2015]树上操作 链接 思路: 树链剖分。操作:单点修改,路径查询,子树修改。 代码: ...
分类:
其他好文 时间:
2018-05-20 12:59:14
阅读次数:
175