无辜菠萝

文章
3
资源
0
加入时间
3年1月28天

B - The Suspects POJ - 1611B - The Suspects POJ - 1611

B - The Suspects POJ - 1611基并查集#include<iostream>#include<cstdio>#include<cstring>#include<algorithm>using namespace std;const int maxn = 3e4+100;int n, m;int fa[maxn], cnt[maxn];void init() { m

python连接MySQL进行查询、修改、关闭的操作

写一个连接数据库的class要求:三个功能(查询,修改,关闭连接)参数不要写死,三个测试环境实时切换import pymysqlimport pandas as pdclass ConnectSQL:# 初始化函数,属性包括数据库地址、端口、用户名、密码、数据库名称def init(self, localhost, port, username, password, dbname):...