会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hacker_dvd
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
2023年3月6日
矩阵乘法模板
摘要: // 模板矩阵 LL A[10][10] = { }; struct Matrix { void mul(LL a[10][10], LL b[10][10], LL c[10][10]) { LL tmp[10][10] {}; for (int i = 0; i < n; ++i) { for
阅读全文
posted @ 2023-03-06 19:55 hacker_dvd
阅读(27)
评论(0)
推荐(0)
2023年2月15日
splay模板
摘要: constexpr int N = 100005; // ch[i][0] 代表左儿子,ch[i][1] 代表右儿子 int rt, tot, fa[N], ch[N][2], val[N], cnt[N], sz[N]; struct Splay { void maintain(int x) {
阅读全文
posted @ 2023-02-15 23:15 hacker_dvd
阅读(21)
评论(0)
推荐(0)
中国剩余定理模板
摘要: using ll = __int128; template <typename T> inline void rd(T &data) { T x = 0, flag = 1; char ch = getchar(); while (ch < '0' || ch > '9') { if (ch=='-
阅读全文
posted @ 2023-02-15 11:24 hacker_dvd
阅读(25)
评论(0)
推荐(0)
2022年12月14日
pycharm 使用
摘要: 1.ctrl + alt + s:打开软件设置 2.ctrl + d:复制当前行代码到下一行 3.shift + alt + 上/下:将当前向上/向下移动 4.ctrl + shift + F10:运行当前的代码文件 5.shift + F6:重命名文件 6.ctrl + f:搜索 7.ctrl +
阅读全文
posted @ 2022-12-14 20:05 hacker_dvd
阅读(41)
评论(0)
推荐(0)
2022年9月25日
硬链接和软链接
摘要: 为一个文件创建一个软链接:(假设文件名为 tmp) ln -s tmp 软链接名称 注:软链接名称一般写为 tmp.s 软链接文件的大小为访问路径的字符数 注意:若想要保证移动软链接位置该软链接仍然可以使用,我们在用 tmp 文件创建软链接时,应该使用 tmp 的绝对路径进行创建,否则,用相对路径创
阅读全文
posted @ 2022-09-25 17:07 hacker_dvd
阅读(42)
评论(0)
推荐(0)
2022年9月23日
linux文件查找
摘要: find的用法 find path -option [ -print ] [ -exec -ok command ] {} \; find . -name "*.txt" -print:找到当前路径下所有的.txt文件并输出 type为l的文件为链接文件 find . -name "*.txt" |
阅读全文
posted @ 2022-09-23 19:35 hacker_dvd
阅读(26)
评论(0)
推荐(0)
2022年7月31日
ubuntu常见问题解决
摘要: ubuntu下的一些注意事项 ubuntu所有桌面软件的路径都在~/.local/share/applications目录下 ubuntu22.04 安装新版 linuxqq 浏览器打开网址 https://im.qq.com/linuxqq/index.shtml ,并下载 X64 deb 版的包
阅读全文
posted @ 2022-07-31 16:41 hacker_dvd
阅读(81)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
公告