1057 Stack (30分) Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The basic operatio ...
分类:
其他好文 时间:
2020-06-03 00:45:45
阅读次数:
80
多线程程序将单个任务按照功能分解成多个子任务来执行,每个子任务称为一个线程,多个线程共同完成主任务的运行过程,这样可以缩短用户等待时间,提高服务效率。本篇博客将简单介绍Java开发中多线程的使用... ...
分类:
编程语言 时间:
2020-06-02 23:11:37
阅读次数:
93
ceph集群使用过程中,经常容易出现osd full,导致集群业务无法使用的问题,特别是生产环境,本文主要介绍怎么紧急故障恢复。
分类:
其他好文 时间:
2020-06-02 09:39:29
阅读次数:
101
CSS架构 一。链接: 链接元素:通过使用a元素的href属性设置跳转到指定页面地址 <style> a{ color: blue; text-decoration: none; } a:hover{ cursor:default; text-decoration: underline; } </s ...
分类:
Web程序 时间:
2020-06-01 12:18:32
阅读次数:
62
CSS架构 一.颜色与单位颜色: 前景色与背景色:设置文本和背景颜色 <style> html,body{ background-color: blue; /* 前景色 - 就是指字体颜色(color) * 浏览器默认的字体颜色为黑色 背景色 - 就是指指定元素的背景颜色(background-co ...
分类:
Web程序 时间:
2020-06-01 11:52:35
阅读次数:
72
java 获取调用类的类名和方法名 String classname = new Exception().getStackTrace()[1].getClassName(); //获取调用者的类名 String method_name = new Exception().getStackTrace( ...
分类:
编程语言 时间:
2020-06-01 11:51:43
阅读次数:
259
1.括号匹配问题 部分代码: #include <stdio.h>#include <stdlib.h>#include <string.h>#include "stack_list_parenthesis.h" // 检查字符串 str 是否全部是全括号 '(', ')', '[', ']', ' ...
分类:
其他好文 时间:
2020-05-31 22:09:42
阅读次数:
76
一.动态数组的有序线性表 1.头文件: 2.c档 3.主程序 4.运行结果 二.线性表的链结表表示法 1.线性表可以使用固定数组和变动数组来实现;另外,线性表也可使用链结表来表示。 链结表 (linked list) 就是用「链」连接在一起的多个节点。 节点 (node):包含两个部分数据 (dat ...
分类:
编程语言 时间:
2020-05-31 21:37:01
阅读次数:
75
半透明边框 background-clip: 规定背景的绘制区域 .div { width: 200px; height: 200px; background: blue; border: 10px solid rgba(255, 170, 170, 0.3); background-clip: p ...
分类:
Web程序 时间:
2020-05-31 19:34:47
阅读次数:
74
在使用urdf进行仿真过程中在代码开始会有xmlns <robot name="seven_dof_arm" xmlns:xacro="http://ros.org/wiki/xacro"> 在查阅之后发现它定义了xml命名空间 即将所引用的元素是将名称空间前缀视为具有完整名称空间URI的简称别名的 ...
分类:
其他好文 时间:
2020-05-31 15:48:35
阅读次数:
92