Description Alice and Bob are in their class doing drills on multiplication and division. They quickly get bored and instead decide to play a game the ...
分类:
其他好文 时间:
2018-05-28 19:48:32
阅读次数:
160
[luoguT30208]太极剑 试题描述 在学习太极之后,Bob 要求 Alice 教他太极剑。Alice 告诉他首先需要通过一项基本剑术测试。测试要求 Bob 尽可能快地切断 $n$ 根绳子。 所有绳子的端点两两不同,所以共有 $2n$ 个端点。这些端点被捆在一个圆上,等距离分布。我们把这些端点 ...
分类:
其他好文 时间:
2018-05-24 11:46:06
阅读次数:
205
python数据类型详解 目录1、字符串2、布尔类型3、整数4、浮点数5、数字6、列表7、元组8、字典9、日期 1、字符串1.1、如何在Python中使用字符串a、使用单引号(')用单引号括起来表示字符串,例如:str='this is string';print str; b、使用双引号(")双引 ...
分类:
编程语言 时间:
2018-05-20 13:03:20
阅读次数:
176
首先,到此为止,我只会$t1$、$t2$ T1: $\color{red}{Description}$ $Alice$ 和 $Bob$ 在玩游戏。 他们有 $n$ 堆石子,第$i$堆石子有$a_i$个,保证初始时 $a_i \leq a_{i + 1}(1 \leq i a_{i 1}$(a_0$视 ...
分类:
其他好文 时间:
2018-05-20 10:54:02
阅读次数:
186
T29693 取石子 题目描述 Alice 和 Bob 在玩游戏。 他们有 nn 堆石子,第 ii 堆石子有 a_iai? 个,保证初始时 a_i \leq a_{i + 1}(1 \leq i < n)ai?≤ai+1?(1≤i<n) 。现在他们轮流对这些石子进行操作,每次操作人可以选择满足 a_ ...
分类:
其他好文 时间:
2018-05-19 23:26:35
阅读次数:
200
1、time 模块 时间表示形式 时间相关的操作,时间有三种表示方式: 时间戳 1970年1月1日之后的秒,即:time.time() 格式化的字符串 2014-11-11 11:11, 即:time.strftime('%Y-%m-%d') 结构化时间 元组包含了:年、日、星期等... time. ...
分类:
编程语言 时间:
2018-05-19 18:34:42
阅读次数:
175
时间限制: 2 Sec 内存限制: 128 MB 提交: 70 解决: 17 [提交][状态][讨论版][命题人:admin] 题目描述 Alice and Bob are playing a stone game. There are n piles of stones. In each turn ...
分类:
其他好文 时间:
2018-05-19 17:06:23
阅读次数:
185
(转载)原文地址:https://blog.csdn.net/alice_tl/article/details/78907732#comments 所谓多语言测试,是指APP在多个使用不同语言的国家发布,则必须对多种语言支持的一种场景测试。比如希望在Google Play上发布一个APP,提供给全球 ...
分类:
编程语言 时间:
2018-05-11 17:19:45
阅读次数:
224
题目 Bob和Alice出去度蜜月,但Alice不慎走失,Bob在伤心过后,决定前去寻找Alice。 他们度蜜月的地方是一棵树,共有N个节点,Bob会使用下列DFS算法对该树进行遍历。 starting_time是一个容量为n的数组 current_time = 0 dfs(v): current_ ...
分类:
其他好文 时间:
2018-05-09 15:13:21
阅读次数:
139
描述 Alice bought a lot of pairs of socks yesterday. But when she went home, she found that she has lost one of them. Each sock has a name which contain ...
分类:
其他好文 时间:
2018-05-05 23:05:48
阅读次数:
198