遍历指定目录内所有文件,若里面还含有目录,继续遍历。对文件的内容进行过滤,若有符合过滤条件的文件内容,则更改此文件的内容。
python在学,若有错误希望大家及时提出,共同进步~~
分类:
编程语言 时间:
2019-07-23 20:13:40
阅读次数:
143
2018 Petrozavodsk Winter Camp, Yandex Cup contest link: "2018 Petrozavodsk Winter Camp, Yandex Cup" diary :2019.7.14 team solution: "戳" solve ? of ?, ...
分类:
其他好文 时间:
2019-07-16 00:38:13
阅读次数:
162
1047 Student List for Course (25 分) 1047 Student List for Course (25 分) 1047 Student List for Course (25 分) Zhejiang University has 40,000 students an ...
分类:
其他好文 时间:
2019-07-14 19:37:02
阅读次数:
115
1.链接地址 https://vjudge.net/problem/POJ-3224 2.问题描述 The Lab Cup Table Tennis Competition is going to take place soon among laboratories in PKU. Students ...
分类:
其他好文 时间:
2019-07-12 16:57:55
阅读次数:
105
题目链接:https://vjudge.net/problem/POJ-1840 题目大意 有以下方程: $$\sum_{i = 1}^{5} a_i * x_i^3 = 0, a_i \in [-50, 50], x_i \in [-50, 0) \cup (0, -50], a_i 和 x_i ...
分类:
其他好文 时间:
2019-07-11 22:10:02
阅读次数:
106
目前遇到的伪代码主要用了三种: algorithmic, algorithmicx, algorithm2e 大致的格式如下 \begin{algorithm}[h] \caption{An example for format For \& While Loop in Algorithm} \be ...
分类:
数据库 时间:
2019-07-09 14:02:58
阅读次数:
1741
#include using namespace std; class Cup { private: int volume; public: Cup(int v=0):volume(v) { cout>i>>j; Cup c2(i), c3(c2); c3.setVolume(j); return ... ...
分类:
其他好文 时间:
2019-07-05 13:08:14
阅读次数:
97
1.垃圾回收算法 1.1 标记-清除算法 算法分为“标记”和“清除”阶段:首先标记出所有需要回收的对象,在标记完成后统一回收所有被标记的对象。它是最基础的收集算法,效率也很高,但是会带来两个明显的问题: 1.效率问题 2.空间问题,标记清除后会产生大量不连续的碎片 1.2 复制算法 为了解决效率问题 ...
分类:
编程语言 时间:
2019-06-30 14:26:56
阅读次数:
140
ffmpeg version N-49044-g89afa63 Copyright (c) 2000-2013 the FFmpeg developers built on Jan 19 2013 20:36:06 with gcc 4.7.2 (GCC) configuration: --enab ...
分类:
其他好文 时间:
2019-06-28 21:08:02
阅读次数:
300
With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing ba ...
分类:
其他好文 时间:
2019-06-19 18:33:40
阅读次数:
79