题目来源:http://codeforces.com/contest/158/problem/B After the lessons n groups of schoolchildren went outside and decided to visit Polycarpus to celebrat ...
分类:
其他好文 时间:
2020-07-27 16:07:20
阅读次数:
89
Given the root of a binary tree and an integer distance. A pair of two different leaf nodes of a binary tree is said to be good if the length of the s ...
分类:
其他好文 时间:
2020-07-27 15:58:17
阅读次数:
93
Given an array of positive integers target and an array initial of same size with all zeros. Return the minimum number of operations to form a target ...
分类:
其他好文 时间:
2020-07-27 15:38:31
阅读次数:
66
SELECT total_cpu_time,[total_physical_Reads], total_execution_count, number_of_statements, s2.text --(SELECT SUBSTRING(s2.text, statement_start_offset ...
分类:
数据库 时间:
2020-07-27 15:37:19
阅读次数:
122
初识RK3399 RK3399是一款低功耗、高性能的处理器,适用于计算、个人移动互联网设备和其他智能设备应用。基于big.little架构,它集成了双核Cortex-A72和四核Cortex-A53与单独的NEON协处理器。 许多嵌入式强大的硬件引擎为高端应用程序提供了优化的性能。RK3399支持多 ...
分类:
其他好文 时间:
2020-07-27 13:54:12
阅读次数:
81
Given a set of sticks of various lengths, is it possible to join them end-to-end to form a square? InputThe first line of input contains N, the number ...
分类:
其他好文 时间:
2020-07-27 09:42:59
阅读次数:
80
以下内容为学习记录,可以参考 MDN 原文。 环境 node v12.18.1 npm 6.14.5 vscode 1.46 Microsoft Edge 83 概念 全局属性 Infinity 是一个数值,表示无穷大。 Infinity 的初始值是 Number.POSITIVE_INFINITY ...
分类:
编程语言 时间:
2020-07-27 09:22:57
阅读次数:
81
数组对象去重 准备数据 var arr = [{ "CompanySerial": "123", "id": "1", "number": 2, }, { "CompanySerial": "456", "id": "1", "number": 2 }, { "CompanySerial": "78 ...
分类:
编程语言 时间:
2020-07-26 23:23:50
阅读次数:
116
1. 区别 == 和 == 比较的是两个变量的值 比较两个变量的 类型 和 值 基本数据类型(undefined,boolean,number,string,null) 存放在栈内存中的简单数据段,数据大小确定,内存空间大小可以分配,是直接按值存放的,所以可以直接访问。 基本数据类型的比较是值的比较 ...
分类:
其他好文 时间:
2020-07-26 23:12:20
阅读次数:
94
Typescript方法重载实现系列二 function getInfo(name:string):string; function getInfo(name:string,age:number):string; function getInfo(name:any,age?:any):any{ if ...
分类:
其他好文 时间:
2020-07-26 19:30:04
阅读次数:
44