码迷,mamicode.com
首页 >  
搜索关键字:ztr loves lucky numbers    ( 8622个结果
Linux add key
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 76F1A20FF987672Fadd loic key:sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com ...
分类:系统相关   时间:2020-05-03 14:37:54    阅读次数:108
1073 Scientific Notation
Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matches the regular expression [+- ...
分类:其他好文   时间:2020-05-02 22:51:31    阅读次数:58
数组中数字出现的次数
? 第一次解题思路: 遍历数组,将数字和出现的次数装到map集合 遍历map集合,取到题目要求值 (其实不能用Map(空间复杂度O(n))) 优化 解题思路:分组位运算 ? 题目要求时间复杂度O(n),空间复杂度为O(1),因此不能用map(空间复杂度O(n)) ? 代码如下: ...
分类:编程语言   时间:2020-05-02 18:54:22    阅读次数:53
Reverse order pairs
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
题解 AT5228 【[ABC162A] Lucky 7】
AT5228 [ABC162A] Lucky 7 题面中已经保证 $s$ 的长度为 $3$,也就是说,我们只需要把 $s_0$,$s_1$,$s_2$ 全部判断一遍,只要有一个是 $7$,则输出 ,否则输出 。 代码: ...
分类:其他好文   时间:2020-05-02 14:40:23    阅读次数:84
1807. 斐波纳契数列简单
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
Demystifying C++20 Coroutines
许久未在这儿写文章了,从公众号搬几篇原创过来,感兴趣的可以去关注一波。 0. 前言(Introduction) 这篇文章构思了许久。 初时不知从何写起,协程的背后是整个并发,所涉知识极多,对于标准C++来说,也算是一个新概念。 思忖良久,欲以几篇而述之,便先起手了此「概念篇」。 了解C++的会发现自 ...
分类:编程语言   时间:2020-05-01 14:56:44    阅读次数:60
普通新用户的docker权限
应上海开发需求,在人脸测试服务器上创建新用户,只赋予docker使用权限,步骤:$ sudo useradd -rms /bin/bash ouyangyao #创建用户ouyangyao$ sudo groupadd docker #添加docker用户组,可能已经存在, $ sudo userm ...
分类:其他好文   时间:2020-05-01 00:52:56    阅读次数:63
VS2015建立一个完整的c++工程:头文件.h 源文件.cpp,自动生成类
https://blog.csdn.net/weixin_40539125/article/details/81430801 打开VS2015 ,新建VS win32工程,前面步骤很简单,不再阐述 下面直接开始: 新建一个VC++ win32的程序, 在源文件加下添加.cpp文件,一般放main函数 ...
分类:编程语言   时间:2020-04-30 15:32:25    阅读次数:80
1078 Hashing
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
8622条   上一页 1 ... 23 24 25 26 27 ... 863 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!