With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing ba ...
分类:
其他好文 时间:
2019-09-03 22:05:49
阅读次数:
59
[TOC] Problem portal: "1007 Maximum Subsequence Sum (25 分)" Description Given a sequence of $K$ integers { $N_{1}?$, $N_{2}?$, $...$, $N_{K}$ }. A con ...
分类:
其他好文 时间:
2019-09-01 11:06:26
阅读次数:
78
Solution: ? 这题可以分为两个部分, ? 一个部分为处理出每个点最大的金条数与最小的金条数,记为 $[Min_i, Max_i]$ ? 第二部分为对于 $n$ 个变量 $x_i\in[Min_i, Max_i]\cup \mathbb {Z}$,计算选出 $B$ 个前 $A$ 大变量的方案 ...
分类:
其他好文 时间:
2019-08-31 19:38:51
阅读次数:
104
1、禁用 nouveau 驱动 文件内容为: 再执行: 介绍一下 update-initramfs : 2、关闭图形化界面 或者 3、单独安装驱动 (1) 用cuda安装驱动 (2) 下载驱动安装 下载路径:https://www.nvidia.com/Download/index.aspx?lan ...
分类:
其他好文 时间:
2019-08-28 22:46:51
阅读次数:
942
八段锦 一个优秀的中国传统保健功法,形成于12世纪。古人把这套动作比喻为“锦”,意为动作舒展优美,如锦缎般优美、柔顺,又因为功法共为八段,每段一个动作,故名为“八段锦”。 练习无需器械,不受场地局限,简单易学、节省时间,作用及其显著,男女皆可,老少皆宜。 第一式 双手拖天理三焦 胸膈以上为上焦;胸膈 ...
分类:
其他好文 时间:
2019-08-25 13:40:28
阅读次数:
188
概念 二项式反演为一种反演形式,常用于通过 “指定某若干个” 求 “恰好若干个” 的问题。 注意:二项式反演虽然形式上和多步容斥极为相似,但它们并不等价,只是习惯上都称之为多步容斥。 引入 既然形式和多步容斥相似,我们就从多步容斥讲起。 我们都知道:$|A\cup B|=|A|+|B| |A\cap ...
分类:
其他好文 时间:
2019-08-25 12:08:19
阅读次数:
84
C. Helga Hufflepuff's Cup 这个题目我感觉挺难的,想了好久也写了很久,还是没有写出来。 dp[i][j][k] 代表以 i 为根的子树中共选择了 j 个特殊颜色,且当前节点 i 的状态为 k 的染色方案数。 但是这个dfs过程的处理我觉得很复杂。 我们需要一个数组来进行临时的 ...
分类:
其他好文 时间:
2019-08-24 22:41:50
阅读次数:
102
PAT A1027 Colors in Mars 题目描述: People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is repres ...
分类:
其他好文 时间:
2019-08-24 00:33:51
阅读次数:
101
PAT A1011 World Cup Betting 题目描述: With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best pl ...
分类:
其他好文 时间:
2019-08-23 14:53:11
阅读次数:
62
With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing ba ...
分类:
其他好文 时间:
2019-08-21 11:23:16
阅读次数:
81