方案数
键盘里敲打出的巨人
这个时代带给我太多太多,我也要回馈这个时代!!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C. Constanze's Machine dp水题
题目:http://codeforces.com/contest/1245/problem/C C. Constanze's Machine time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Constanze ...原创 2020-02-11 18:29:51 · 375 阅读 · 0 评论 -
A - Ivan the Fool and the Probability Theory dp方案数
对于第ii行jj列的格子(i,j)(i,j),如果满足i>1i>1或j>1j>1且(i-1,j)(i−1,j),(i-1,j-1)(i−1,j−1)和(i,j-1)(i,j−1)的颜色已经确定,那么这个格子只会有一种填法。 ac 代码: #include<stdio.h> #include <algorithm>...原创 2019-10-21 16:14:23 · 231 阅读 · 0 评论
分享