前期准备:安装微软Excel,需要调用excel类库,Microsoft.Excel XXX Object Library 1 sing System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.T ...
1 #include <iostream> 2 #include<binaryNode.hpp> 3 #include<cassert> 4 #include<queue> 5 #include<vector> 6 7 using namespace std; 8 9 template<class ...
分类:
编程语言 时间:
2020-09-17 23:50:30
阅读次数:
40
1 准备工作 导入所需要jar包的Maven坐标 <!--引入pageHelper分页插件 --> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5 ...
分类:
编程语言 时间:
2020-09-17 23:34:36
阅读次数:
44
1003 Emergency (25分) #include<stdio.h> #include<iostream> using namespace std; const int maxn=1010; const int INF=1000000000; int n,m,c1,c2; int G[max ...
分类:
其他好文 时间:
2020-09-17 23:33:09
阅读次数:
34
基础命令操作 启动zk服务 ./zkServer.sh start 复制代码 [root@localhost bin]# ./zkServer.sh ZooKeeper JMX enabled by default Using config: /usr/home/zookeeper-3.4.11/b ...
分类:
其他好文 时间:
2020-09-17 23:28:28
阅读次数:
28
近日,因工作需要,将Python解析结构体bytes转换成0和1表示,为了验证结果是否和C++的一致, 需要C++写一个内存数据从低字节到高字节用0和1来表示demo。 #include <iostream> using namespace std; int main() { int a; do { ...
分类:
编程语言 时间:
2020-09-17 23:13:26
阅读次数:
40
题意:给定n个数构建完全二叉树,输出完全二叉树的层序遍历 思路:二叉树的中序遍历建树即为输出 #include<cstdio> #include<queue> #include<vector> #include<algorithm> using namespace std; const int N ...
分类:
其他好文 时间:
2020-09-17 23:04:06
阅读次数:
30
#include<bits/stdc++.h> using namespace std; typedef long long ll; const ll MAXN=1<<21,MOD1=998244353,MOD2=1004535809,MOD3=469762049; inline ll fpow(l ...
分类:
其他好文 时间:
2020-09-17 22:57:07
阅读次数:
25
题目链接 题意:求本质不同的串有多少 思路:求出最小表示法,如果最小表示法的字符串不同则本质不同。用一个人set记录,最后求得size。 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn ...
分类:
其他好文 时间:
2020-09-17 22:13:44
阅读次数:
33
using System; using System.IO; using System.Text; using System.Collections.Generic; using System.Security.Cryptography.X509Certificates; using System. ...