The left-view of a binary tree is a list of nodes obtained by looking at the tree from left hand side and from top down. For example, given a tree sho ...
分类:
其他好文 时间:
2021-03-11 18:26:16
阅读次数:
0
1.下载安装包 这里安装的是3.7.18 官网下载地址: https://www.rabbitmq.com/download.html 官网下载入口 选择版本 erlang 下载 注意:这里的安装包是centos7安装的包 1.1 安装步骤 # 1.将rabbitmq安装包上传到linux系统中 e ...
分类:
其他好文 时间:
2021-03-11 12:17:53
阅读次数:
0
1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 #include <cmath> 5 #include <cstring> 6 #include <cstdlib> 7 using namespace std; 8 ...
分类:
其他好文 时间:
2021-03-10 13:13:30
阅读次数:
0
顺序语句 案例 package com.bk201.struct; public class ShunXuDemo { public static void main(String[] args) { System.out.println("H"); System.out.println("e"); ...
分类:
其他好文 时间:
2021-03-10 13:13:09
阅读次数:
0
#include <bits/stdc++.h> using namespace std; const double EPS = 1e-8; const int N = 1e5+10; struct Point{ double x, y; }; int n; Point p[N]; bool equ ...
分类:
其他好文 时间:
2021-03-10 12:57:35
阅读次数:
0
学习java的每日小收获 字符串连接符 以下面代码为例: public static Medo02{ public static void main(String agrs[]){ int i=10; int j=20; System.out.println(" "+i+j);//字符串连接符号 S ...
分类:
编程语言 时间:
2021-03-09 13:04:21
阅读次数:
0
Scanner对象 next:遇到空格结束 nextline:遇到回车结束 package Scanner; import java.util.Scanner;//导入scanner的包 public class Demo01 { public static void main(String[] a ...
分类:
其他好文 时间:
2021-03-09 12:58:14
阅读次数:
0
类别 检查项 检查结果 代码 Readability 通过 Duplicated Code 通过 Hard Coding 通过 Long Method(100行) 通过 Long Parameter List(最多4个) 通过 Large Class 通过 Switch Statement 通过 L ...
分类:
其他好文 时间:
2021-03-08 14:04:45
阅读次数:
0
定义一个函数,输入一个链表的头节点,反转该链表并输出反转后链表的头节点。 /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val ...
分类:
其他好文 时间:
2021-03-08 13:28:22
阅读次数:
0
离散数学里面好像有一个连通图的可达矩阵,通过矩阵的幂乘找到该点每一步可到达的点 该题明显是k步后到了哪些点 int mod; struct mat { int data[110][110] = { 0 }; int n = 110; mat() {}; mat(int n) : n(n) {}; m ...
分类:
其他好文 时间:
2021-03-08 13:25:53
阅读次数:
0