摘要:
C - Make Takahashi Happy https://atcoder.jp/contests/abc293/tasks/abc293_c 思路 回溯遍历算法, dfs从1,1位置开始遍历,把所有可能分支都跑遍, 统计总的数目。 Code https://atcoder.jp/contes 阅读全文
摘要:
A. Plant https://codeforces.com/contest/185/problem/A 思路 发现状态转移矩阵M 目标状态-上三角 目标状态-下三角 源状态-上三角 3 1 源状态-下三角 1 3 初始状态为向量V 初始状态-上三角 1 初始状态-下三角 0 过第一年V的转变为 阅读全文