摘要:
#include<bits/stdc++.h> #define N 1100000 #define db double #define ll long long #define ldb long double #define ull unsigned long long using namespac 阅读全文
摘要:
10.4 F 好像要用到lyndon分解qwq 还不是很会 G Pro: 给n个01串,q次询问,每次给定问要区分其中$k$个01串最少需要选多少个二进制位。 H Pro: 转化完后变成给一个01?序列 判断是否可以填入0,1使得这个序列满足不存在长度为$x$的连续$0$和长度为$y$的连续$1$。 阅读全文
摘要:
题目链接 https://acm.hdu.edu.cn/contests/contest_show.php?cid=984 A 简单结论题 B Pro: 依次向平面添加$n$个点 第$i$个点会对其半径$r_u$的范围内的所有点$j$造成$v_j$的损失。 求加入每个点后的损失和。 保证数据随机 S 阅读全文
摘要:
#include<bits/stdc++.h> #define N 22 #define M 11 #define db double #define ll long long #define ldb long double #define ull unsigned long long using 阅读全文