Mybatis的分页查询 PageHelper是一个MyBatis分页插件。 添加依赖 springBoot中添加依赖 <!-- pagehelper --> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>page ...
分类:
其他好文 时间:
2020-11-19 13:01:26
阅读次数:
22
1 #include <iostream> 2 #include <cstdio> 3 #include <memory.h> 4 using namespace std; 5 const int INF=0x3f3f3f3f,city=4; 6 int main(){ 7 int a[city][ ...
分类:
其他好文 时间:
2020-11-19 12:53:22
阅读次数:
10
题目链接:https://leetcode-cn.com/problems/relative-sort-array/ 又是一个简单题,懒得多说了,我用的暴力,有价值的地方就是题解用的这种自定义排序的方法, 之前没写过这样的自定义排序,码住。 class Solution { public: vect ...
分类:
编程语言 时间:
2020-11-19 12:44:37
阅读次数:
7
单级排序 数据源: 任意查询表 目标: 对其中一列数据进行排序 操作过程: 选取对象》【主页】》【排序】》【升序排序】 选取对象》【主页】》【排序】》【降序排序】 M公式: 升序:= Table.Sort(步骤名,{"列名", Order.Ascending}) 降序:= Table.Sort(步骤 ...
分类:
编程语言 时间:
2020-11-19 12:40:18
阅读次数:
7
P5110 块速递推 题意 多次询问,求数列 \[ a_i=\begin{cases}233a_{i-1}+666a_{i-2} & i>1\\ 0 & i=0\\ 1 & i=1\\ \end{cases} \] 的第 \(n\) 项在 \(\mod 1e9+7\) 意义下的值的异或和。 思路 首 ...
分类:
其他好文 时间:
2020-11-19 12:17:38
阅读次数:
6
SWEN30006 Exam 2018 S1 Page 1 of 32School of Computing and Information SystemsSWEN30006 Software Modelling and DesignExamination: 2018 End of Semester ...
分类:
其他好文 时间:
2020-11-19 12:14:11
阅读次数:
6
前面讲了 Eureka 和 Spring Cloud Config,今天介绍一个全能选手 「Consul」。它是 HashiCorp 公司推出,用于提供服务发现和服务配置的工具。用 go 语言开发,具有很好的可移植性。被 Spring Cloud 纳入其中,Eureka 停止新版本开发,更多的想让开 ...
分类:
编程语言 时间:
2020-11-19 12:07:02
阅读次数:
5
function getExplorerWindows() { let wnds = sp.AllApplications(); const windClass = "CabinetWClass"; const proName = "explorer"; let result = new Array ...
分类:
其他好文 时间:
2020-11-19 12:03:37
阅读次数:
4
#include <cstdio> #include <cstring> #include <iostream> #include <stdio.h> using namespace std; bool CheckYear(int n) { if(n % 400 == 0) return true; ...
分类:
其他好文 时间:
2020-11-18 13:24:48
阅读次数:
28
1.JavaScript是一门单线程语言,单线程意味着他只有一个栈,一次只能去做一件事情,所以要知道他是如何去处理异步问题还得搞清楚JavaScript的代码执行运行机制。 首先我们先写一段简单同步线程的代码 function one(n){console.trace(n);} function t ...
分类:
编程语言 时间:
2020-11-18 12:48:45
阅读次数:
7