cat /proc/cmdline查看cmdline文件,文件中保存了内核启动参数 包括boot镜像、分区识别号、文件系统类型、rootwait终端. ...
分类:
其他好文 时间:
2021-04-13 12:10:27
阅读次数:
0
github地址: https://github.com/yansongda/pay 文档地址: https://pay.yansongda.cn/ 扩展小程序红包 https://pay.weixin.qq.com/wiki/doc/api/tools/cash_coupon.php?chapte ...
分类:
微信 时间:
2021-04-13 12:00:14
阅读次数:
0
String removeDuplicateLetters(String s) { Stack<Character> stk = new Stack<>(); // 维护一个计数器记录字符串中字符的数量 // 因为输入为 ASCII 字符,大小 256 够用了 int[] count = new i ...
分类:
其他好文 时间:
2021-04-13 11:42:41
阅读次数:
0
求字符串出现次数最多字符 let str = "aaabbccccddddd" function longSre(str) { let zifu; let max = 0; let arr = str.split('') let map = new Map() for (let i = 0; i < ...
分类:
编程语言 时间:
2021-04-13 11:42:07
阅读次数:
0
1 基础 1 引入vue <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> 2 定义操作元素 <div id="app"> 3 创建Vue应用,并挂载元素 var app = new Vue({ el: '#ap ...
分类:
其他好文 时间:
2021-04-13 11:38:38
阅读次数:
0
package Szys;import java.util.Random; import java.util.Scanner; public class szys { public static void main(String[] args) { int [][] arr=new int[1000 ...
分类:
其他好文 时间:
2021-04-12 12:49:42
阅读次数:
0
需求分析: 随机生成算式题目以及其结果 具体设计: 一个随机生成算式的方法Make() 一个计算结果的方法JiGuo() 具体编码: Make() public static String Make(){ StringBuilder bu = new StringBuilder(); int cou ...
分类:
其他好文 时间:
2021-04-12 12:44:40
阅读次数:
0
约瑟夫环 题目: 剑指 Offer 62. 圆圈中最后剩下的数字 5727. 找出游戏的获胜者 1、数学解法就是通过倒推,求出队伍长度为n时,(n=1)的下标会变成什么。 class Solution { public int lastRemaining(int n, int m) { int an ...
分类:
其他好文 时间:
2021-04-12 12:42:41
阅读次数:
0
原题链接 题解:注意建立边 代码: #include <iostream> #include <algorithm> #include <cstring> #include <cmath> using namespace std; const int N = 5e3 + 9; const int M ...
分类:
其他好文 时间:
2021-04-12 12:34:29
阅读次数:
0
1、ElementUi3框架 npm i element3 -S 引入框架 --main.js import 'element3/lib/theme-chalk/index.css' import { createApp } from 'vue' import Element3 from 'elem ...
分类:
其他好文 时间:
2021-04-12 12:31:47
阅读次数:
0