HBC14379遇见题解 A和B在同一条路上,他们之间的距离为 k 米,A现在想见到B,所以A开车以 x km/h的速度朝着B的方向行驶,同时B也以 y km/h的速度朝着A的方向走去,A的车有 n 个档位,每个档位有不同的速... 算法基础篇 2023-11-14 104 #HBC14379遇见题解
HBC233872[SCOI2005]最大子矩阵,动态规划Foolpruf Security题解 m个点组成一张二分图,定义 一棵树的Prufer code:取出当前下标最小的叶子结点,将其删除,并且输出和它相邻的点的下标,直到最后只剩下两个点,问你是否能构造这样一棵树,并且将这棵树输出。... 算法基础篇 2023-11-14 80 #HBC233872[SCOI2005]最大子矩阵 #动态规划Foolpruf Security题解
HBC245381Hayforsale购买干草Remove and append题解 You are given an array a, consisting of n integers. We defifine an operation as follows: Select k... 算法基础篇 2023-11-14 115 #HBC245381Hayforsale购买干草Remove and append题解
HBC54304ICPC StandingsFractions题解 You are given a positive integer n. Find a sequence of fractions ai / bi, i = 1…k for some k suc... 算法基础篇 2023-11-14 99 #HBC54304ICPC StandingsFractions题解
HBC14311Server题解 Alice and Bob are working on a new assignment. In this project, they need to access some information... 算法基础篇 2023-11-14 81 #HBC14311Server题解
HBC230509Duplicate Strings,模拟,暴力1题解 1 (图片来源网络,侵删)... 算法基础篇 2023-11-14 115 #HBC230509Duplicate Strings #模拟 #暴力1题解
HBC16637farm题解 White Rabbit has a rectangular farmland of n*m. In each of the grid there is a kind of plant. The pl... 算法基础篇 2023-11-14 81 #HBC16637farm题解
HBC212906两点距离题解 已知现在有n个点,以1-n标号,不同两点之间的距离为两点标号的最大公约数,求点x到点y的所需移动的最短距离。... 算法基础篇 2023-11-14 115 #HBC212906两点距离题解
ID 1406字符串,字符数组回文回文!题解 回文是一种有趣的现象,英语中单词Palindromes指顺读倒读都一样的词语,比如radar,reviver,repaper,deified,rotator,美国南卡罗来那州查尔斯顿市北部有一片沼泽地... 算法基础篇 2023-11-14 112 #ID 1406字符串 #字符数组回文回文!题解