In a sequence of numbers,we can find some number pairs that conform to the rule below: Assuming that there exist two numbers,N and M and it's position ...
分类:
其他好文 时间:
2020-05-02 18:46:09
阅读次数:
60
1807. 斐波纳契数列简单 中文English Find the Nth number in Fibonacci sequence. A Fibonacci sequence is defined as follow: The first two numbers are 0 and 1. The ...
分类:
其他好文 时间:
2020-05-02 11:35:04
阅读次数:
61
许久未在这儿写文章了,从公众号搬几篇原创过来,感兴趣的可以去关注一波。 0. 前言(Introduction) 这篇文章构思了许久。 初时不知从何写起,协程的背后是整个并发,所涉知识极多,对于标准C++来说,也算是一个新概念。 思忖良久,欲以几篇而述之,便先起手了此「概念篇」。 了解C++的会发现自 ...
分类:
编程语言 时间:
2020-05-01 14:56:44
阅读次数:
60
应上海开发需求,在人脸测试服务器上创建新用户,只赋予docker使用权限,步骤:$ sudo useradd -rms /bin/bash ouyangyao #创建用户ouyangyao$ sudo groupadd docker #添加docker用户组,可能已经存在, $ sudo userm ...
分类:
其他好文 时间:
2020-05-01 00:52:56
阅读次数:
63
https://blog.csdn.net/weixin_40539125/article/details/81430801 打开VS2015 ,新建VS win32工程,前面步骤很简单,不再阐述 下面直接开始: 新建一个VC++ win32的程序, 在源文件加下添加.cpp文件,一般放main函数 ...
分类:
编程语言 时间:
2020-04-30 15:32:25
阅读次数:
80
The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of the input numbers. ...
分类:
其他好文 时间:
2020-04-30 15:15:38
阅读次数:
44
"Description" 思路 由于$a_i$的取值非常小,所以把每个值所在坐标从小到大存起来。然后枚举每个$a_i$为回文的左右边界可得的最大长度。 枚举过程中,求两个$a_i$形成的区间中包含的重复次数最多的数。由于区间越大,重复的个数越多,所以从$a_i$的最左右两边到中间枚举。 统计区间某 ...
分类:
其他好文 时间:
2020-04-29 23:57:08
阅读次数:
131
It is said that in 2011, there are about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if y ...
分类:
其他好文 时间:
2020-04-29 21:35:39
阅读次数:
64
1、Constant Palindrome Sum " Constant Palindrome Sum 题目链接 " 思路 由于每一个数字的取值范围是$[1, k]$,所以对与每一对数字的和的取值应该在$[2, 2k]$。 对于每一对数字我们可以选择改变一个、改变两个或者一个都不改变。 改变一个的时 ...
分类:
其他好文 时间:
2020-04-27 22:51:50
阅读次数:
66
If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123×105 with ...
分类:
其他好文 时间:
2020-04-27 11:23:14
阅读次数:
43