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
There are nn points on a coordinate axis OXOX . The ii -th point is located at the integer point xixi and has a speed vivi . It is guaranteed that no ...
分类:
其他好文 时间:
2020-03-09 10:31:36
阅读次数:
79
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
手稿图 折线图 | Argument | Description | | : | : | | xs , ys | x, y coordinates of vertices | | zs | z value(s), either one for all points or one for each p ...
分类:
编程语言 时间:
2020-03-06 21:47:34
阅读次数:
154
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