1、编辑C代码 2、按F5 3、在弹出框中输入下面的代码: cmd /k gcc -o "$(CURRENT_DIRECTORY)\$(NAME_PART).exe" "$(FULL_CURRENT_PATH)" && CLS && "$(CURRENT_DIRECTORY)\$(NAME_PART ...
分类:
其他好文 时间:
2021-02-06 12:12:54
阅读次数:
0
linux目录结构图 1、根目录表示方式:/ 2、根目录下常见目录: -/bin:即binary,存放二进制文件、可执行程序和shell命令等; -/dev:即device,linux的设备文件,如硬盘、显卡、显示器等; -/lib:linux运行的时候需要加载的一些动态库 -/mnt:用户收到挂载 ...
分类:
系统相关 时间:
2021-02-06 11:42:00
阅读次数:
0
仅供自己学习 题目: You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the foll ...
分类:
其他好文 时间:
2021-02-04 12:10:58
阅读次数:
0
package luckyclient.utils;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOExcepti ...
分类:
其他好文 时间:
2021-02-04 11:50:19
阅读次数:
0
仅供自己学习 题目: Invert a binary tree. Example: Input: 4 / \ 2 7 / \ / \1 3 6 9Output: 4 / \ 7 2 / \ / \9 6 3 1 思路: 这就是直接交换数据就可以了,可以前序遍历,后序遍历,中序遍历的交换 代码: 前序 ...
分类:
其他好文 时间:
2021-02-04 11:44:27
阅读次数:
0
1.查看sudo版本 sudo -V 或者 sudo --version 2.下载sudo最新安装文件 sudo官网地址:https://www.sudo.ws/ sudo-1.9.5p2.tar.gz 3.安装gcc命令 yum -y install gcc 4.解压 tar -xvf sudo- ...
分类:
其他好文 时间:
2021-02-02 11:35:15
阅读次数:
0
给你两个二进制字符串,返回它们的和(用二进制表示)。 输入为 非空 字符串且只包含数字 1 和 0。 示例 1: 输入: a = "11", b = "1"输出: "100"示例 2: 输入: a = "1010", b = "1011"输出: "10101" 提示: 每个字符串仅由字符 '0' 或 ...
分类:
其他好文 时间:
2021-02-01 12:38:51
阅读次数:
0
/** * C++ 语言: 二叉查找树 * * @author skywang * @date 2013/11/07 */ #ifndef _BINARY_SEARCH_TREE_HPP_ #define _BINARY_SEARCH_TREE_HPP_ #include <iomanip> #in ...
分类:
编程语言 时间:
2021-02-01 11:49:33
阅读次数:
0
Redis 5 解压缩,编译(/home/software/) tar -zxvf redis-5.0.5.tar.gz ln -s redis-5.0.5 redis yum install gcc-c++ cd redis make && make install 此时,便可以通过redis-s ...
分类:
其他好文 时间:
2021-01-30 12:22:13
阅读次数:
0
一、linux下如何查看已安装的centos版本信息: 1.Linux查看当前操作系统版本信息 cat /proc/version Linux version 2.6.32-696.el6.x86_64 (mockbuild@c1bm.rdu2.centos.org) (gcc version 4. ...
分类:
系统相关 时间:
2021-01-30 11:41:40
阅读次数:
0