题目文件下载 比赛链接 ps: 这是我第一次打CF = = div2的7题只做对了3题,还是太弱了,以后要变强! 另外,我的证明有些比较多余,不想看可以跳过~~ 欢迎指出错误~ A. Two Regular Polygons 大意: 给定两个数n,m,问是否可以找到一组正n边型和正m边型,使得正m边 ...
分类:
其他好文 时间:
2020-03-10 11:44:13
阅读次数:
87
Problem Description Give you a number on base ten,you should output it on base two.(0 < n < 1000) Input For each case there is a postive number n on b ...
分类:
其他好文 时间:
2020-03-09 20:52:34
阅读次数:
49
You are given two integers nn and dd . You need to construct a rooted binary tree consisting of nn vertices with a root at the vertex 11 and the sum o ...
分类:
其他好文 时间:
2020-03-09 10:32:58
阅读次数:
52
What are Peng (Bob) Chi's top 3 strengths? Can you give an example of how one or two of those strengths has impacted you or the business? What are the ...
分类:
其他好文 时间:
2020-03-09 01:41:29
阅读次数:
66
原题链接在这里:https://leetcode.com/problems/product-of-the-last-k-numbers/ 题目: Implement the class ProductOfNumbers that supports two methods: 1. add(int nu ...
分类:
其他好文 时间:
2020-03-08 15:45:52
阅读次数:
64
省选模拟35 1.two 线段树 对于给定的一条边,发现在另一棵树上的删边情况只有两种. $$dfn[u]r$$ 所以把所有边二元组插到另一棵树的两棵线段树里(因为用的是ta的dfn序). 在第一颗线段树u处插v,第二颗v处插u. 查询时查询区间内线段树里一维$ l/ 2.bracket 点分治+F ...
分类:
其他好文 时间:
2020-03-08 09:57:16
阅读次数:
52
名词分两类: 可数名词 是指数得过来的概念 比如:apple , pencil , student. 可数名词数量在两个或两个以上,可数名词要加s,比如 two apples , three pencils , five students 可数名词有单数和复数之分: apple-apples、pen ...
分类:
其他好文 时间:
2020-03-07 20:40:49
阅读次数:
106
Given two binary trees, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally ident ...
分类:
其他好文 时间:
2020-03-06 15:05:00
阅读次数:
54
[剑指Offer]41 和为S的两个数字 VS 和为S的连续正数序列 Leetcode T1 Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specif ...
分类:
其他好文 时间:
2020-03-06 12:41:24
阅读次数:
59
YAML的块序列表示一系列节点。 每个项目都由一个前导 - 指示符表示。 请注意,YAML中的-指示符应与具有空格的节点分开。 块序列的基本表示如下 - block sequence: ··- one↓ - two : three↓ YAML 示例 请观察以下示例以更好地理解块序列。 示例1 por ...
分类:
其他好文 时间:
2020-03-06 01:22:08
阅读次数:
63