Kilani is playing a game with his friends. This game can be represented as a grid of size n×mn×m, where each cell is either empty or blocked, and ever ...
分类:
其他好文 时间:
2019-01-26 11:09:06
阅读次数:
202
Python 简介 Python 是一个高层次的结合了解释性、编译性、互动性和面向对象的脚本语言。 Python 的设计: Python 是一种解释型语言: 这意味着开发过程中没有了编译这个环节。类似于PHP和Perl语言。 Python 是交互式语言: 这意味着,您可以在一个Python提示符,直 ...
分类:
编程语言 时间:
2019-01-25 18:47:37
阅读次数:
160
EXTENDED LIGHTS OUT Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 14231 Accepted: 8817 Description In an extended version of the game Lig ...
分类:
其他好文 时间:
2019-01-25 17:49:34
阅读次数:
199
Description On a table are cards, with a positive integer printed on the front and back of each card (possibly different). We flip any number of cards ...
分类:
其他好文 时间:
2019-01-24 23:05:09
阅读次数:
237
题目传送门:https://ctf.bugku.com/challenges#come_game 题解: 解压文件包,得到下面两个文件,其中有一个为.exe文件 运行.exe文件,进入游戏界面,按照界面提示,shift键和上下左右键控制游戏 游戏中通过左右键可以选择3个关卡 随便选择第一个,shif ...
分类:
其他好文 时间:
2019-01-24 21:53:38
阅读次数:
1300
BaoBao and DreamGrid are playing the game Plants vs. Zombies. In the game, DreamGrid grows plants to defend his garden against BaoBao's zombies. There ...
分类:
其他好文 时间:
2019-01-24 00:31:08
阅读次数:
250
dfs你怕是要爆炸 考虑dp; 很容易想到 dp[ i ] 表示到 i 时的最少转移步数; 那么: dp[ i ]= min( dp[ i ],dp[ i-j ]+1 ); 其中 i-t<=j<=i; 当 i%k==0时 ,dp[ i ]=min( dp[ i ],dp[ i/k ]+1 ); 很明 ...
分类:
其他好文 时间:
2019-01-24 00:17:49
阅读次数:
186
题目: Codeforces Round #534 (Div. 2) A. Splitting into digits Codeforces Round #534 (Div. 2) B. Game with string 总结: 第一道将n拆分成若干个数,保证这些数字的种类尽可能少。 将数全部拆分成 ...
分类:
其他好文 时间:
2019-01-23 22:35:21
阅读次数:
186
"题目" $a, x$ 是正整数。显然有 \begin{aligned} x \ge 2x \pmod{a} \implies a \le 2x \end{aligned} 若 $x \le a$ 则 \begin{aligned} x 2x \end{aligned} 证明 首先,$x x$,当 ...
分类:
其他好文 时间:
2019-01-23 11:40:01
阅读次数:
124
Two people are playing a game with a string ss, consisting of lowercase latin letters. On a player's turn, he should choose two consecutive equal lett ...
分类:
其他好文 时间:
2019-01-23 10:39:52
阅读次数:
195