1 #include<iostream> 2 #include<cstring> 3 #include<cstdlib> 4 using namespace std; 5 struct node* create1(string); 6 struct node* create2(string); 7 ...
分类:
编程语言 时间:
2021-03-31 12:29:24
阅读次数:
0
#include <iostream> #include <vector> #include <thread> #include <mutex> #include <condition_variable> #include <queue> #include <functional> using na ...
分类:
编程语言 时间:
2021-03-30 13:55:19
阅读次数:
0
1.方便快捷替换所有text字体 #if UNITY_EDITOR using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEngine. ...
分类:
编程语言 时间:
2021-03-30 13:39:37
阅读次数:
0
select id,name where name='shenjian' select id,name,sex* where name='shenjian'* 多查询了一个属性,为何检索过程完全不同? 什么是回表查询? 什么是索引覆盖? 如何实现索引覆盖? 哪些场景,可以利用索引覆盖来优化SQL? ...
分类:
数据库 时间:
2021-03-30 12:55:59
阅读次数:
0
//二分图匹配#include<cstdio>#include<cstring>using namespace std;const int N = 1005;int n,m,k; //a方n人 b方m人 k对关系 int u,v; int g[N][N]; //表示a,b之间有关系,赋值为0/1. ...
分类:
其他好文 时间:
2021-03-30 12:52:43
阅读次数:
0
题目描述: 找出字符串中最长的回文子串长度 输入输出: Sample Input: Is PAT&TAP symmetric? Sample Output:Sample Output: 11 思路: dp的思想,设字符串str,dp[i][j] = 1 or 0 代表str[i] ~ str[j]间 ...
分类:
其他好文 时间:
2021-03-29 12:51:45
阅读次数:
0
std::future 介绍 1 #include <iostream> 2 #include <thread> 3 #include <future> 4 5 using namespace std; 6 7 void DoWork(promise<int> thePromise) 8 { 9 / ...
分类:
其他好文 时间:
2021-03-29 12:48:41
阅读次数:
0
因为要求所有的状态,所以暴力超时 那么想想能否计算贡献。 我们对于每一个xi,xi+1,他们对于每一个fi的状态都有不同的贡献,因此我们枚举情况后用差分数组维护贡献 #include<bits/stdc++.h> typedef long long ll; using namespace std; ...
分类:
其他好文 时间:
2021-03-29 12:48:27
阅读次数:
0
#include<iostream> using namespace std; int main() { int data[1010]; int n, sum = 0; int flag = 0; cin >> n; cin >> data[0] >> data[1]; flag = (data[1 ...
分类:
其他好文 时间:
2021-03-29 12:40:26
阅读次数:
0
临时: alter session set current_schema=X; 永久: alter session set current_schema= X 倒是能解决问题,但这总不是个永久的解决方案;在after log on事件上做触发器执行上面的语句;create or replace tr ...
分类:
数据库 时间:
2021-03-29 12:19:00
阅读次数:
0