摘要:一、题目 Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored as 3×5×6×7, where 5,
阅读全文
摘要:一、题目: 略 二、分析 使用BFS。 三、代码 #include <iostream> #include <vector> #include <queue> using namespace std; int M, N, L, T; struct core { bool value; bool vi
阅读全文
摘要:1103 Integer Factorization (30分) 一、题目 The K−P factorization of a positive integer N is to write N as the sum of the P-th power of K positive integers.
阅读全文
摘要:2022.10.1更新,此题目在leetcode.cn上有原题,并且有大量详细的题解,见 887. 鸡蛋掉落 一、背景 今天看李永乐老师的科普视频,里面提到的双蛋问题很有意思。思考了下发现是动态规划问题,特此记录。李老师的视频视频点击这里里讲解的很清楚,在此写下自己的理解。 二、题意 假设有一座大楼
阅读全文
摘要:如题: 知网部分论文只提供caj文件下载,可以使用以下方法下载论文的pdf版。 下载caj版的论文。在浏览器的下载管理器中复制下载链接。将链接复制到浏览器地址栏。将链接中的"nhdown"修改为"pdfdown",回车即可下载对应论文的pdf版本。(注意:下载链接很长,从后往前一直找,一定会找到的)
阅读全文