算法
井蛙_t
小小地努力着...
展开
-
2019年南京大学计院开放日 机试(思路+代码)
目录0. 感想1. Find the Smallest NumberSolution1:贪心Solution2:栈2. Line upSolution:动态规划3. The Number of Binary TreeSolution1: 暴力搜索Solution2: 优雅地递归4. 一些想法0. 感想翻翻我的csdn博客就知道,它已经被束之高阁。今天重新启封,一是整理思路和代码,以供参考,学...原创 2019-08-06 22:27:06 · 2593 阅读 · 1 评论 -
一道有趣的编程题
Problem Description (HDU 6630)You are given three positive integers N,x,yN, x, yN,x,y.Please calculate how many permutations of 1~N satisfies the following conditions (We denote the iii-th number of...原创 2019-08-07 19:35:31 · 318 阅读 · 0 评论