Description:Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to t ...
分类:
其他好文 时间:
2021-03-18 14:37:13
阅读次数:
0
题目链接:http://poj.org/problem?id=2255 递归经典习题。具体见代码: #include <iostream> #include <cstring> using namespace std; char a[111], b[111]; void dfs(int L1, in ...
分类:
其他好文 时间:
2021-03-18 14:30:29
阅读次数:
0
1.帮助命令 docker version 显示版本信息 docker info 显示系统信息 docker help 显示命令信息 2.镜像命令 docker images 列出镜像信息 docker search 镜像的名字 在docker hub 上面搜索镜像 docker pull 镜像名字 ...
分类:
其他好文 时间:
2021-03-18 14:09:59
阅读次数:
0
查找Docker Hub上的tomcat镜像 docker search tomcat 拉取官方的镜像 docker pull tomcat 启动Tomcat服务 方式1: 通过dockerfile生成镜像启动项目 如下是dockerfile文件 From tomcat:latest #你的 tom ...
分类:
Web程序 时间:
2021-03-18 14:08:51
阅读次数:
0
比赛链接:https://pintia.cn/market/item/1371703238093053952 7-1 打印三角形拼图 (15 分) 题解 找规律。 代码 #include <bits/stdc++.h> using namespace std; int main() { ios::s ...
分类:
其他好文 时间:
2021-03-17 15:03:51
阅读次数:
0
下载Jenkins Control Plugin 地址 Intellij中设置Jenkins 其中Crumb Data请求方式为:http://URL/crumbIssuer/api/json?tree=crumb.返回中即包含指定数据,如: { "_class": "org.jenkinsci.p ...
分类:
其他好文 时间:
2021-03-16 14:02:35
阅读次数:
0
zsh + oh my zsh 使用 切换bash 切换bash chsh -s /bin/bash 切换zsh chsh -s /bin/zsh 安装 oh my zsh ! 插件地址 https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins 主 ...
分类:
其他好文 时间:
2021-03-16 13:54:23
阅读次数:
0
效果图: 实现代码:js:view的类型原来1个js给拆分成了4个: view, controller, renderer, model 1、view:AbstractView的子类,这是工厂类:类需要解析 arch字段并设置其它3个类 2、Renderer :渲染器,来自 AbstractRend ...
分类:
其他好文 时间:
2021-03-16 13:41:17
阅读次数:
0
方式一:软件仓库安装 此方法不用自己去配置交叉编译工具链 1.查看本地仓库有支持哪些版本哪些 输入命令: apt-cache search aarch64 2.下载安装 gcc-8-aarch64-linux-gnu 输入:sudo apt-get install gcc-8-aarch64-lin ...
分类:
系统相关 时间:
2021-03-16 13:38:58
阅读次数:
0
static/js/xxxx.js 这里定义按钮odoo.define('add.tree.view.buttons', function (require) { "use strict"; var core = require('web.core'); var ListController = r ...
分类:
其他好文 时间:
2021-03-16 13:30:43
阅读次数:
0