链接:https://ac.nowcoder.com/acm/problem/17193 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N = 1000100; 4 bitset<N>s,p; 5 int main() { ...
分类:
其他好文 时间:
2021-05-24 01:32:55
阅读次数:
0
type GetIndexType_0<T> = T extends [infer T0, ...infer TS] ? T0 : never; type GetIndexType_1<T> = T extends [infer T0, infer T1, ...infer TS] ? T1 : n ...
分类:
其他好文 时间:
2021-04-06 14:18:10
阅读次数:
0
摘自:https://www.fujieace.com/kali-linux/pkg_config_path.html 由于最近在瞎搞Kali Linux NetHunter,需要用上“pkg_config_path 环境变量设置”,担心有很多人跟我一样也在搞NetHunter而踩坑走不出来,我特意 ...
分类:
其他好文 时间:
2021-01-01 12:08:41
阅读次数:
0
本文所有内容均在 GNU C++ (64位) 里瞎搞出来,有很多猜测,仅供参考 如何定义 vector/deque/list/forward_list <T, allocator<T> > set <T, less<T>, allocator<T> > map <T, U, less<T>, all ...
分类:
编程语言 时间:
2020-09-17 23:27:20
阅读次数:
41
#T1 数学问题,考试时没yy出公式,用滚动数组瞎搞了一个$50$%的暴力。 暴力代码找不见了,贴正解吧。 #include <bits/stdc++.h> using namespace std; const int mod = 998244353; #define ll long long in ...
分类:
其他好文 时间:
2020-07-23 23:30:31
阅读次数:
133
Alyona and Spreadsheet 思路 一开始感觉是一个二维版的单调递增的序列,但是发现这个题目的数据有点大,$n m using namespace std; const int N = 1e5 + 10; int a[N], ans[N], column[N], n, m, k, l ...
分类:
其他好文 时间:
2020-05-08 15:54:10
阅读次数:
40
$\Huge\text{我不会换回去,谨慎!}$ 你觉得这个图标好不好看,我觉得一般般,而且看腻了。~~男人都是喜新厌旧的苟东西~~ 我们给他换个图标吧! 我的电脑 $\rightarrow$ 工具 $\rightarrow$ 文件夹选项 $\rightarrow$ 文件类型 在已注册的文件类型中找 ...
分类:
其他好文 时间:
2020-05-04 21:27:51
阅读次数:
70
什么Tomcat乱码设置IDEA的初始编码,瞎搞 终于在这个帖子看到了真相 https://blog.csdn.net/weixin_42617398/article/details/81806438 我再演示一下我错误 当我们故意编写语法错误运行时可以看到这样一句提示 所以说,是某一个配置设置成了 ...
分类:
其他好文 时间:
2020-04-19 14:56:57
阅读次数:
226
这场打的有点小开心呀,最后交过 T4 ,但是T3 的线段树居然炸了,也不知道是为啥....反正拿 $O(n)$ 做法搞过去了.... "Problem A" 没什么好说的,随便瞎搞 "Problem B" 这题吗,就是注意到 $Max_{ans} = 2$,注意判一下两个一样 c++ include ...
分类:
其他好文 时间:
2020-04-04 11:18:06
阅读次数:
65
题意: 有n个点的无向完全图,有m条边的边权为1,其余都为0,求最小生成树的权值。 思路: 初始时,生成树的大小为0,先把点1加入进去,然后把那种不需要花费权值,就可以加入的点,先加入进去, 因为每加入一些点,就会有一些点,从需要花费权值 转变为 不需要花费权值,所以要优先加入这样的点。 怎么判断这 ...
分类:
其他好文 时间:
2020-03-17 23:51:51
阅读次数:
73