- 博客(7)
- 资源 (3)
- 收藏
- 关注
原创 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
247
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
210
原创 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
166
原创 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
228
原创 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
195
原创 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
180
原创 牛客多校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
424
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人