![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
题解
文章平均质量分 86
MO_XIAO_XIAO
这个作者很懒,什么都没留下…
展开
-
HDU - Segment Tree with Pruning
题目链接:https://acm.hdu.edu.cn/showproblem.php?pid=6983Problem DescriptionChenjb is struggling with data stucture now. He is trying to solve a problem using segment tree. Chenjb is a freshman in programming contest, and he wrote down the following C/C++ cod原创 2021-08-08 09:06:14 · 251 阅读 · 1 评论 -
HDU - I love exam
题目链接:https://acm.hdu.edu.cn/showproblem.php?pid=6968Problem DescriptionStudent Z doesn’t love examsThe exam was about to be done soon, but student Z didn’t even read the book, He had collapsed.Student Z has a total of n exams, and there are still t day原创 2021-08-07 18:12:45 · 214 阅读 · 0 评论 -
HDUOJ -I love string
题目链接:https://acm.hdu.edu.cn/showproblem.php?pid=6965Problem DescriptionMr X likes to play string games.Mr X has an operation sequence. This operation sequence can be written as a string. For each operation, the next character of the operation sequence c原创 2021-07-28 19:23:54 · 172 阅读 · 0 评论 -
HDUOJ -I love cube
题目链接:https://acm.hdu.edu.cn/showproblem.php?pid=6961Problem DescriptionGive you a cube with a side length of n-1. Find the number of equilateral triangles with three points on the cube point. Each side must be parallel to a certain surface of Oxy, Oxz, O原创 2021-07-28 18:55:29 · 234 阅读 · 0 评论 -
HDUOJ - KD-Graph
题目链接:https://acm.hdu.edu.cn/showproblem.php?pid=6958Problem DescriptionLet’s call a weighted connected undirected graph of n vertices and m edges KD-Graph, if thefollowing conditions fulfill:n vertices are strictly divided into K groups, each group c原创 2021-07-24 02:27:26 · 200 阅读 · 0 评论 -
HDUOJ联赛-Minimum spanning tree
题目链接:https://acm.hdu.edu.cn/showproblem.php?pid=6954Problem DescriptionGiven n-1 points, numbered from 2 to n, the edge weight between the two points a and b is lcm(a, b). Please find the minimum spanning tree formed by them.A minimum spanning tree is a原创 2021-07-23 19:21:09 · 183 阅读 · 0 评论 -
牛客多校1 A. Alice and Bob
题目链接:https://ac.nowcoder.com/acm/contest/11166/A题目描述Alice and Bob like playing games. There are two piles of stones with numbers nnn and mmm. Alice and Bob take turns to operate, each operation can take away k(k>0)k(k>0)k(k>0) stones from one pi原创 2021-07-23 17:11:56 · 431 阅读 · 0 评论