# 汉诺塔 hanoi # 大象放进冰箱里分机构步骤? # n = 1 (a -> c) 2^1 - 1 # n = 2 (a -> b) (a -> c) (b -> c) 2^2 - 1 # | - move 1 from a to c # | - move 2 from a to b | - ...
分类:
编程语言 时间:
2020-07-01 23:39:00
阅读次数:
58
检查共享的NFS权限 [root@nymtx ~]# id grid uid=6001(grid) gid=5001(oinstall) groups=5001(oinstall),5003(asmdba),5004(asmoper),5005(asmadmin) [root@nymtx ~]# i ...
分类:
数据库 时间:
2020-07-01 14:26:56
阅读次数:
158
asset_zip(this.delarr).then((res) => { const content = res.data const blob = new Blob([content],{type:"application/zip"}) var timestamp = (new Date()) ...
分类:
其他好文 时间:
2020-07-01 12:56:01
阅读次数:
292
方式一 以流的形式上传图片直接返回路径,这样写: 好处:方便处理存取数据返回路径 不好的地方:可能冗余,上传的文件后面并未使用 1.用koa-body中间件 注:如果已经使用了koa-bodyParser中间件,请remove此中间件,koa-body可以代替koa-bodyParser 在app. ...
分类:
Web程序 时间:
2020-07-01 12:19:47
阅读次数:
100
Servlet 一. servlet概述 servlet是sun公司提供的用于开发动态web资源的技术,按照servlet的规范开发的servlet可以放在servlet容器中运行。 开发servlet步骤: 写一个类实现servlet接口,实现其中的方法。 在web.xml中为servlet配置对 ...
分类:
其他好文 时间:
2020-06-30 22:57:00
阅读次数:
91
###js运动函数封装 ####html代码 <body> <div id="box"></div> </body> ####js代码如下 var obox = document.getElementById("box"); document.onclick = function(){ move(o ...
分类:
移动开发 时间:
2020-06-29 20:14:56
阅读次数:
65
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p ...
分类:
其他好文 时间:
2020-06-29 20:01:24
阅读次数:
82
Students are asked to stand in non-decreasing order of heights for an annual photo. Return the minimum number of students that must move in order for ...
分类:
其他好文 时间:
2020-06-29 15:25:43
阅读次数:
59
倒数平方根速算法 平方根倒数速算法(Fast inverse square root),经常和一个十六进制的常量 0x5f3759df联系起来。该算法大概由上个世纪90年代的硅图公司开发出来,后来出现在John Carmark的Quake III Arena的源码中。 源码: float Q_rsq ...
分类:
编程语言 时间:
2020-06-29 13:14:45
阅读次数:
56
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the fo ...
分类:
其他好文 时间:
2020-06-29 00:18:05
阅读次数:
56