报错命令 root@ubuntu:/etc/apt# apt-get update Err:1 http://mirrors.aliyun.com/ubuntu trusty InRelease Could not resolve 'mirrors.aliyun.com' Err:2 http:// ...
分类:
系统相关 时间:
2020-04-12 10:42:33
阅读次数:
249
/* * 基数序 解决不能负数的问题 */ public static void negative_radix_sortin(int[] str) { // 桶 10个桶 每个桶的最大容量默认为数组长度 int[][] bucket = new int[10][str.length]; // 每个桶 ...
分类:
编程语言 时间:
2020-04-11 23:47:10
阅读次数:
206
Problem : Given two non negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: 1. The length of both num1 and n ...
分类:
其他好文 时间:
2020-04-11 23:42:02
阅读次数:
75
Web 组件从第一次被引入,经历了漫长的过程。其中某个组件可能真的会改变我们编写网站的方式,它就是 HTML Imports 。 这种方法允许我们将 HTML 文档导入到其他的 HTML 文档中去 。 它可以通过 Ajax 实现,不过 HTML Imports 是一个更干净的方法 。 浏览器支持 H ...
分类:
Web程序 时间:
2020-04-11 20:42:59
阅读次数:
95
Many years ago Berland was a small country where only nn people lived. Each person had some savings: the ii -th one had aiai burles. The government co ...
分类:
编程语言 时间:
2020-04-11 12:55:51
阅读次数:
113
< meta > 元素 概要 标签提供关于HTML文档的元数据。元数据不会显示在页面上,但是对于机器是可读的。它可用于浏览器(如何显示内容或重新加载页面),搜索引擎(关键词),或其他 web 服务。 —— W3School 必要属性 属性 值 描述 content some text 定义与http ...
分类:
Web程序 时间:
2020-04-11 10:00:32
阅读次数:
130
n boys and m girls came to the party. Each boy presented each girl some integer number of sweets (possibly zero). All boys are numbered with integers ...
分类:
其他好文 时间:
2020-04-07 23:59:05
阅读次数:
142
Problem : Given an array, rotate the array to the right by k steps, where k is non negative. Example 1: Example 2: Note: Try to come up as many soluti ...
分类:
其他好文 时间:
2020-04-06 18:59:35
阅读次数:
67
题目 Farmer John has arranged his N (1 ≤ N ≤ 5,000) cows in a row and many of them are facing forward, like good cows. Some of them are facing backward, ...
分类:
其他好文 时间:
2020-04-06 17:13:28
阅读次数:
68
题目 Farmer John has arranged his N (1 ≤ N ≤ 5,000) cows in a row and many of them are facing forward, like good cows. Some of them are facing backward, ...
分类:
其他好文 时间:
2020-04-06 09:56:48
阅读次数:
80