数据库配置请根据自己的数据库文件来修改。 <?php header('Content-type:text/html;charset=utf-8');define('DB_HOST','localhost');define('DB_USER','数据库用户名');define('DB_PASSWORD ...
分类:
其他好文 时间:
2021-05-24 15:10:20
阅读次数:
0
学习记录,仅供参考,希望可以指出错误 根据带头结点的线性链表改编,即elemtype也变成了struct结构 #include<stdio.h> #include<stdlib.h> //改由带头结点的线性链表 #define OK 1 #define ERROR 0 typedef int sta ...
分类:
其他好文 时间:
2021-05-24 12:40:12
阅读次数:
0
1.学了个标记永久化,用处有限,但是也有用 这里详解 code #include <cstring> #include <cstdio> #include <algorithm> #define int long long #define R register int #define printf ...
分类:
其他好文 时间:
2021-05-24 10:59:02
阅读次数:
0
编译环境 x86_64-w64-mingw32 gcc version 8.1.0 操作系统 window 10 X64 code #include <stdio.h> #define uint8_t unsigned char #define uint32_t unsigned int int m ...
分类:
其他好文 时间:
2021-05-24 10:20:00
阅读次数:
0
先用ifconfig br_name down 停掉网桥 再用brctl delbr br_name 删除网桥 为了方便,我编写了shell脚本来删除网桥 #!/bin/bash #本脚本删除的是br-开头的网桥 BRIDGE_LIST=$(sudo brctl show | cut -f 1 | ...
分类:
其他好文 时间:
2021-05-24 06:19:17
阅读次数:
0
题目链接:https://atcoder.jp/contests/abc200/tasks/abc200_e E - Patisserie ABC 2 题意 \(n^3\) 个三元组 \((x,y,z)\ (1 \le x,y,z \le n)\) 按照以下三个关键字从小到大排序: \((x + y ...
分类:
其他好文 时间:
2021-05-24 05:54:19
阅读次数:
0
http://poj.org/problem?id=2279 题意: 一共有n个人,要求第i行放置ai个人,且每一行从左往右人的编号递增,每一列从上往下人的编号递增,问有多少种放置方式。 杨氏矩阵: 由1——n的n个数组成,对于每一个位置,要么这个位置没有元素,要么这个元素的左方和上方都有元素,且元 ...
分类:
其他好文 时间:
2021-05-24 04:36:14
阅读次数:
0
kvm虚拟机快照创建与管理 KVM的快照功能和VMware一样,可以实现热备和回滚的功能,在进行快照之前需要确保磁盘格式必须是qcow2,因为raw格式是不支持快照的。 开启虚拟机 virsh start test #开启虚拟机 在宿主机使用virsh snapshot-create命令为指定的KV ...
分类:
其他好文 时间:
2021-05-24 04:18:59
阅读次数:
0
##AC代码 #include<stdio.h> #include<string.h> #include<iostream> #include<queue> using namespace std; #define inf 0x3f3f3f3f const int N=1020; int e[N][ ...
分类:
其他好文 时间:
2021-05-24 03:46:14
阅读次数:
0
直接上代码吧 中间件简单使用: # -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/lat ...
分类:
其他好文 时间:
2021-05-24 03:01:58
阅读次数:
0