需要根据时间删除这个目录下的文件,/home/lifeccp/dicom/studies,清理掉20天之前的无效数据。 可以使用下面一条命令去完成: 1 find /home/lifeccp/dicom/studies -mtime +21 -name "*.*" -exec rm -Rf {} \ ...
分类:
系统相关 时间:
2020-07-16 12:20:52
阅读次数:
125
Find Right Interval (M) 题目 Given a set of intervals, for each of the interval i, check if there exists an interval j whose start point is bigger than ...
分类:
其他好文 时间:
2020-07-16 12:10:10
阅读次数:
63
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Now your job is to find the total ...
分类:
其他好文 时间:
2020-07-16 12:06:09
阅读次数:
75
常规并查集 模板 #define Maxsize 100+1 int f[Maxsize]; void init(int n){ for(int i = 1; i <= n; i++) f[i] = i; } int find_f(int a){ if(f[a] == a){ return a; } ...
分类:
其他好文 时间:
2020-07-16 11:58:56
阅读次数:
105
npm 指令 查看npm安装路径 npm config ls 全局安装包 npm install package -g 查看全局安装的模块 npm list --depth=0 -g Cannot find Module xxx 1.书写错误,往往是写错了模块的名称,而导致无法加载 2.未安装相关模 ...
分类:
其他好文 时间:
2020-07-16 10:13:44
阅读次数:
68
problem 1394. Find Lucky Integer in an Array solution #1: 使用哈希表; 使用哈希表记录数组元素和freq,然后判断是否相等,且取最大值; 注意 1. 最大值可以由下标一次递减隐性表示; 2. 数值的范围是1-500; 参考 1. leetco ...
分类:
其他好文 时间:
2020-07-16 00:22:19
阅读次数:
51
GPS平台、网站建设、软件开发、系统运维,找森大网络科技!https://cnsendnet.taobao.com来自森大科技官方博客http://www.cnsendblog.com/index.php/?p=990 今数据库更新到8.0的版本后,使用DataGrip和workbench都可以链接 ...
分类:
数据库 时间:
2020-07-16 00:18:45
阅读次数:
103
重新做了一下这道并查集的题目,关键要点是抓住这种循环的关系和模运算的通性,进而利用加权并查集 #include <cstdio> #include <iostream> #include <algorithm> #include <cstring> using namespace std; cons ...
分类:
其他好文 时间:
2020-07-15 23:39:09
阅读次数:
63
问题原因:raw.githubusercontent.com网站不能访问,需要修改hosts文件,添加新网站的ip地址 1.打开终端,输入gedit /etc/hosts。 2.在打开的文本最后添加:199.232.28.133 raw.githubusercontent.com。 3.保存并退出, ...
分类:
其他好文 时间:
2020-07-15 23:33:12
阅读次数:
239
mininet> r1 xterm Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot ...
分类:
Web程序 时间:
2020-07-15 23:29:02
阅读次数:
112