Codeforces 1091E 题意:给定n个点的度数,请你添加第n+1个点,输出所有可能的第n+1个点的度数 做法:1. 查看 "链接" 知道了下面这个定理 A sequence of non negative integers $ d_1\geq\cdots\geq d_n$ can be r ...
分类:
其他好文 时间:
2018-12-31 22:37:52
阅读次数:
310
题目如下: Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1. Example 1: Example 2: Exa ...
分类:
其他好文 时间:
2018-12-31 21:53:41
阅读次数:
216
Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endp ...
分类:
其他好文 时间:
2018-12-31 14:43:58
阅读次数:
179
题目如下: Return all non-negative integers of length N such that the absolute difference between every two consecutive digits is K. Note that every number ...
分类:
其他好文 时间:
2018-12-31 11:54:37
阅读次数:
213
Problem: Given an array which consists of non-negative integers and an integer m, you can split the array into m non-empty continuous subarrays. Write ...
分类:
其他好文 时间:
2018-12-31 10:27:04
阅读次数:
403
Return all non-negative integers of length N such that the absolute difference between every two consecutive digits is K. Note that every number in th ...
分类:
其他好文 时间:
2018-12-30 18:47:55
阅读次数:
164
6个控制位】 control bits zx zero x 为真 x为0?? nx 非 x 为真 !x zy zero y 为真 y 0 ny 为真 !y f 为真 out=>x+y plus operation 加法 反之 out=>x&y and运算 和运算 no 非out n是negative ...
分类:
其他好文 时间:
2018-12-27 03:15:47
阅读次数:
163
1 执行计划的查看 1 explan plan 2 dbms_xplan包 3 sqlplus中 set autot 4 10046 5 awr报告 6一些现成的脚本 7 10053 常见的就前4种 执行计划的补充信息 Note - dynamic sampling used for this st ...
分类:
数据库 时间:
2018-12-26 19:54:11
阅读次数:
234
Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index. According ...
分类:
其他好文 时间:
2018-12-26 01:14:39
阅读次数:
170
1.蓄水池抽样算法(Reservoir Sampling) https://www.jianshu.com/p/7a9ea6ece2af 2.spark抽样之蓄水池抽样 https://blog.csdn.net/snaillup/article/details/69524931?utm_sourc ...
分类:
其他好文 时间:
2018-12-23 22:11:22
阅读次数:
192