盘符名称+冒号 :盘符切换
dir:查看当前路径下的内容
cd目录:进入单级目录(tab可以自动补全)
cd…:回退到上一级目录
cd 目录1\目录2\ …:进入多级目录
cd \:回退到盘级目录
cls :清屏
exit:退出命令提示符窗口cd
2024-12-03279 字2 分钟
新生赛
新生赛打完咯,21名一般般吧,a出五题,不过并查集没a出来将会是我一生的痛,本来还有机会拼罚时冲第一的~~
并查集模版题
题目链接:K-城市连接_2024年湖南工业大学第十二届程序设计竞赛新生赛 (nowcoder.com)
代码:
123456789101112131415161718192021222324252627282930313233343536373839404142#include<bits/stdc++.h>#define IOS ios::sync_with_stdio(0),cin.tie(0),cout.tie(0)using namespace s
2024-11-11560 字4 分钟
三面错题与反思
1.dp的运用
题目链接:E-四叠半的电影_2024HUT实验室三面 (nowcoder.com)
12345678910111213141516171819202122232425#include <bits/stdc++.h>#define IOS ios::sync_with_stdio(0),cin.tie(0),cout.tie(0)using namespace std;typedef pair<int,int>PII;typedef long long ll;const int N=2e5+10;int a[N];bool mark[N];int mai
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1$ hexo new "My New Post"
More info: Writing
Run server
1$ hex