Tasks Task Name Time Limit Memory Limit A Large Digits 2 sec 1024 MB Submit B Gentle Pairs 2 sec 1024 MB Submit C 1-SAT 2 sec 1024 MB Submit D Choose ...
分类:
其他好文 时间:
2021-01-06 11:50:46
阅读次数:
0
Find a Corresponding Node of a Binary Tree in a Clone of That Tree (M) 题目 Given two binary trees original and cloned and given a reference to a node t ...
分类:
其他好文 时间:
2021-01-06 11:39:40
阅读次数:
0
#!/bin/bash #判断磁盘是否已经进行了分区 if (( $(fdisk -l /dev/sdb|grep "^/dev/sdb"|wc -l) > 0 )) then echo "这块磁盘已经分区,退出,请管理员检查" exit #退出脚本,后面的命令不再执行 else echo "开始进 ...
分类:
其他好文 时间:
2021-01-05 11:14:07
阅读次数:
0
https://www.cnblogs.com/l5gw/p/11225376.html 检查系统中的 MySQL,并删除现有的 Mysql 软件包。$ rpm -qa | grep mysql由于 centos7 默认安装的 MySQL 数据库为 Mariadb,并不是我需要的 MySQL,所以我 ...
分类:
数据库 时间:
2021-01-05 11:07:42
阅读次数:
0
MongoDB语法与现有关系型数据库SQL语法比较 MongoDB语法 MySql语法 db.test.find({'name':'foobar'})<==> select * from test where name='foobar' db.test.find() <==> select *fro ...
分类:
数据库 时间:
2021-01-05 11:00:27
阅读次数:
0
Largest Rectangle in Histogram (H) 题目 Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the ...
分类:
其他好文 时间:
2021-01-05 10:40:12
阅读次数:
0
#!/bin/bash data=`date '+%Y-%m-%d-%H-%M'` a=(`kubectl get deployments --all-namespaces |awk '{print $1}'| grep -v NAME`) ## 获取域名空间(NAMESPACE) b=(`kube ...
分类:
其他好文 时间:
2021-01-04 11:32:43
阅读次数:
0
1.是否需要降维? Dimensionality reduction we normally use it to visualize our data and to find hidden information we don't normally see. Also, it is use for ...
分类:
其他好文 时间:
2021-01-04 11:30:05
阅读次数:
0
本文选取并翻译自:https://saywebsolutions.com/blog/git-github-error-fatal-couldnt-find-remote-ref-master 如果出现该错误提示,可能是因为使用了旧命令: git pull origin master master现在 ...
分类:
其他好文 时间:
2021-01-04 11:08:12
阅读次数:
0
分屏查看文件more/lessmore分屏查看,空格按屏查看less支持按行上下键查看,空格按屏查看 grep 查找 //若想使用正则表达式, 需要 -E选项grep -E "nice" metadata.txt //正则表达式匹配metadata中,包含nice的行egrep "nice" met ...
分类:
系统相关 时间:
2021-01-04 10:47:00
阅读次数:
0