<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv ...
分类:
其他好文 时间:
2021-04-19 14:55:25
阅读次数:
0
var arr = [4,23,100,9,7,49,36,57]; function bubleSort(arr){ for(var i=0;i<arr.length-1;i++){//确定轮数长度减1轮 for(var j=0;j<arr.length-i-1;j++){//确定每次比较的次数 ...
分类:
编程语言 时间:
2021-04-19 14:55:07
阅读次数:
0
我们在使用Mac电脑的过程中,可以使用“密码与安全性”偏好设置来更改与您的 Apple ID 相关联的安全性设置。今天小编给大家带来了详细的图文教程,需要的朋友可以看一看! 具体方法如下 1.在 Mac 上,选取苹果菜单>“系统偏好设置”。 2.点按“Apple ID”。 如果尚未登录 Apple ...
分类:
移动开发 时间:
2021-04-19 14:54:52
阅读次数:
0
一、设计模式六大原则 1.开闭原则:对扩展开放,对修改关闭,。 例子: course类里面有price字段,getPrice方法,如果想要打折促销,就需要改变price字段或者getPrice方法。 我们可以新建一个CourseCount类继承course类,里面的getPrice方法调用父类的ge ...
分类:
其他好文 时间:
2021-04-19 14:47:20
阅读次数:
0
##题意 求最长上升子序列长度 ##思路 本题直接用dp写,会超时,需要优化 优化办法:二分+dp ##AC代码 //4test n //6 p //4 2 6 3 1 5 ->3 //10 //2 3 4 5 6 7 8 9 10 1 ->9 //8 //8 7 6 5 4 3 2 1 ->1 / ...
分类:
其他好文 时间:
2021-04-19 14:47:09
阅读次数:
0
##思路 最长上升子序列的变形+记录路径 ##AC代码 #include<iostream> #include<cmath> #include<string.h> #include<algorithm> #include<stdio.h> #include<iomanip> #define inf ...
分类:
其他好文 时间:
2021-04-19 14:43:51
阅读次数:
0
步骤一 在父项目的pom.xml中添加坐标管理,因为springboot和springcloud容易出现版本兼容问题,所以这些都交给系统自己去处理 <dependencyManagement> <dependencies> <dependency> <groupId>org.springframew ...
分类:
其他好文 时间:
2021-04-19 14:42:22
阅读次数:
0
1. 链接上虚拟机 这里是我成功结局的图 2. Options ->Global Option-> 3.复制那个路径 4 .打开我的电脑黏贴进去直接回车 5. 进入这个文件夹 6. 用notepad++ 打开 和你链接名一样的文件 7. ctrl+f 查找UTF找到这一句 D:"Filenames ...
分类:
其他好文 时间:
2021-04-19 14:41:31
阅读次数:
0
题目: 我们提供一个类: class FooBar { public void foo() { for (int i = 0; i < n; i++) { print("foo"); } } public void bar() { for (int i = 0; i < n; i++) { prin ...
分类:
编程语言 时间:
2021-04-19 14:40:03
阅读次数:
0
BFS可以延伸的应用变化繁多,这道题配合状态压缩共同解决,不过时空复杂度还可以进一步优化。 #include <iostream> #include <algorithm> #include <queue> #include <string> #include <vector> #include < ...
分类:
其他好文 时间:
2021-04-19 14:36:16
阅读次数:
0