01 2021 档案
摘要:参见:https://www.mysqltutorial.org/mysql-delete-duplicate-rows/ 概括:在这个教程中,你将会学到多种用在 MySQL 中的删除重复行的方法。 一、准备样本数据 为了便于演示,我们用下面的脚本创建了表 contacts,并向其中插入了一些样本数
阅读全文
摘要:首先,随便打开一个目录,在其地址栏输入 cmd,然后回车,进入该目录下的命令行, 然后分别执行一下两个命令: pip freeze>modules.txt 这个命令是把系统中所有的第三方模块的名称以及第三方模块的版本等信息保存在 modules.txt 中。 然后对文件进行操作: pip unins
阅读全文
摘要:首先,执行以下命令: pip install pip-autoremove pip-auto remove jupyter -y 上面的命令其实是安装了 pip-autoremove 这个库,然后用 pip-autoremove 来删除 jupyter 所依赖的相关库。 这样其实还没有卸载干净,我们
阅读全文
摘要:struct Point { int x, y; Point(int x = 0, int y = 0): x(x), y(y) {} // 构造函数 }; Point operator + (const Point &A, const Point &B) { return Point(A.x +
阅读全文
摘要:紫书例题 题目链接 https://vjudge.net/problem/UVA-12096 AC 代码 #include <iostream> #include <set> #include <map> #include <vector> #include <stack> #include <al
阅读全文
摘要:#include <iostream> #include <string> #include <cctype> #include <vector> #include <map> #include <algorithm> using namespace std; map<string, int> cn
阅读全文
摘要:#include <iostream> #include <string> #include <set> #include <sstream> using namespace std; set<string> dict; // string 集合 int main() { string s, buf
阅读全文
摘要:紫书例题 题目链接 https://vjudge.net/problem/UVA-156 AC 代码 #include <iostream> #include <string> #include <cctype> #include <vector> #include <map> #include <
阅读全文
摘要:题目链接 https://vjudge.net/problem/UVA-227 代码 #include <iostream> #include <vector> #include <map> using namespace std; struct Point { int x, y; Point (i
阅读全文