错误一:安装nginx报错“src/os/unix/ngx_user.c:26:7: error: ‘struct crypt_data’ has no member named ‘current_salt’” “src/os/unix/ngx_user.c:26:7: error: ‘struct ...
分类:
其他好文 时间:
2021-01-18 10:49:25
阅读次数:
0
const int MAXN = 200000 + 10; const int MAXM = 2000000 + 10; int n, m; vi G[MAXN]; int vis[MAXN]; int fa[MAXN]; int ans[MAXN]; struct Query { int x, y ...
分类:
编程语言 时间:
2021-01-16 12:11:10
阅读次数:
0
对fd_set的理解,可以参考下:https://www.cnblogs.com/wuyepeng/p/9745573.html int select(int nfds, fd_set* readset, fd_set* writeset, fe_set* exceptset, struct tim ...
分类:
其他好文 时间:
2021-01-16 12:04:47
阅读次数:
0
我认为机器学习中的模型应该用以下第三条解释。 a system of postulates, data, and inferences presented as a mathematical description of an entity or state of affairs 假设、数据和推论的 ...
分类:
其他好文 时间:
2021-01-14 11:26:56
阅读次数:
0
首部 信号量 创建初始化 #include <semaphore.h> int sem_init(sem_t *sem, int pshared, unsigned int value); Link with -pthread. 入口: sem 带初始化的信号量的地址 pshared 线程-0 进程 ...
分类:
编程语言 时间:
2021-01-13 11:22:38
阅读次数:
0
SQL基础篇 这里的SQL语句执行的场景都是MYSQL数据库,其他数据库会略有差异。 一、什么是SQL? SQL是Structured Query Langusge(结构化查询语言)的缩写。SQL是一种专门用来与数据库沟通的语言。 二、检索数据 2.1、检索语句格式:SELECT 列名1,列名2,… ...
分类:
数据库 时间:
2021-01-13 11:12:23
阅读次数:
0
#include<iostream> #include<cstring> #include<algorithm> using namespace std; struct node { string x; //装票数 int num; //装号数 int lenx; //装票数的位数 }s[25]; ...
分类:
编程语言 时间:
2021-01-13 11:00:17
阅读次数:
0
Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n? Example: Input: 3 Output: 5 Explanation: Given n = 3, the ...
分类:
其他好文 时间:
2021-01-12 11:12:21
阅读次数:
0
测试配置: cpu:Intel(R) Core(TM) i7-9750H CPU @2.60GHz gpu:GTX1650 4G 内存:DDR4 2667MHz 浏览器:Chrome 版本 87.0.4280.141 // 测试执行耗时方法 function getRunTime(fun) { co ...
分类:
Web程序 时间:
2021-01-11 11:13:22
阅读次数:
0
#include <iostream> #include <vector> #include <string> using namespace std; struct Node { int data; Node * next; }; Node * reverseList(Node * head) { ...
分类:
其他好文 时间:
2021-01-11 11:11:15
阅读次数:
0