2018年7月17日

摘要: coordinates 坐标 meansure 措施 per 每 gather 收集 contain 包含 current 最近的 consider 考虑 correct 改正,收集 absolute 绝对的 relative 相关的 formal 正规的 hold 保存,有效的, achieve 阅读全文
posted @ 2018-07-17 17:26 Lis~ 阅读(404) 评论(2) 推荐(0) 编辑
 
摘要: 一共有 n个数,第 i 个数是 xi xi 可以取 [li , ri] 中任意的一个值。 设 ,求 S 种类数。 一共有 n个数,第 i 个数是 xi xi 可以取 [li , ri] 中任意的一个值。 输入描述: 输出描述: 示例1 输入 复制 5 1 2 2 3 3 4 4 5 5 6 输出 复 阅读全文
posted @ 2018-07-17 15:50 Lis~ 阅读(243) 评论(0) 推荐(0) 编辑
 

2018年7月16日

摘要: Domination 题目链接:https://odzkskevi.qnssl.com/9713ae1d3ff2cc043442f25e9a86814c?v=1531624384 Edward is the headmaster of Marjar University. He is enthusi 阅读全文
posted @ 2018-07-16 09:59 Lis~ 阅读(243) 评论(0) 推荐(0) 编辑
 

2018年7月15日

摘要: Problem Description OO has got a array A of size n ,defined a function f(l,r) represent the number of i (l<=i<=r) , that there's no j(l<=j<=r,j<>i) sa 阅读全文
posted @ 2018-07-15 01:14 Lis~ 阅读(181) 评论(0) 推荐(0) 编辑
 

2018年7月12日

摘要: E1. Median on Segments (Permutations Edition) time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard o 阅读全文
posted @ 2018-07-12 15:43 Lis~ 阅读(241) 评论(0) 推荐(0) 编辑
 

2018年7月2日

摘要: Allen has a LOT of money. He has nn dollars in the bank. For security reasons, he wants to withdraw it in cash (we will not disclose the reasons here) 阅读全文
posted @ 2018-07-02 21:44 Lis~ 阅读(481) 评论(0) 推荐(0) 编辑
 

2018年6月28日

摘要: Little Nastya has a hobby, she likes to remove some letters from word, to obtain another word. But it turns out to be pretty hard for her, because she 阅读全文
posted @ 2018-06-28 21:55 Lis~ 阅读(189) 评论(0) 推荐(0) 编辑
 

2018年6月26日

摘要: 汉诺塔 一、经典汉诺塔 有三根相邻的柱子,标号为A,B,C,A柱子上从下到上按金字塔状叠放着n个不同大小的圆盘,要把所有盘子一个一个移动到柱子B上,并且每次移动同一根柱子上都不能出现大盘子在小盘子上方,请问至少需要多少次移动,设移动次数为F(n) 设F[n]表示将n个盘从按规则从X柱移到Z柱至少需要 阅读全文
posted @ 2018-06-26 22:49 Lis~ 阅读(461) 评论(0) 推荐(0) 编辑
 

2018年6月7日

摘要: 考虑一个无限完整的二叉搜索树(参见下图),节点中的数字是1,2,3,....在根节点为X的子树中,我们可以通过重复获得该子树中的最小数量沿着左边的节点往下走,直到最后一层,我们也可以通过沿着右边的节点找到最大数量。现在给出一些查询,“根节点为X的子树中的最小和最大数目是多少?” 请尝试找到有关查询的 阅读全文
posted @ 2018-06-07 17:46 Lis~ 阅读(274) 评论(0) 推荐(0) 编辑
 

2018年5月30日

摘要: C. Three displays time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output It is the middle of 201 阅读全文
posted @ 2018-05-30 19:37 Lis~ 阅读(223) 评论(0) 推荐(0) 编辑