码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
c# 在内存打包zip 多个文件 上传服务器 MemoryStream ZipArchiveMode
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using Utilities; us ...
分类:Windows程序   时间:2020-06-12 10:34:20    阅读次数:62
树状数组实现线段树部分功能
P3372 【模板】线段树 1 要求实现一个数据结构支持区间查询和区间修改 改装后的树状数组 #include<cstdio> using namespace std; #define MAXN 100010 int n,m;long long tree1[MAXN],tree2[MAXN],k,K ...
分类:编程语言   时间:2020-06-12 01:00:41    阅读次数:64
查询与索引优化
1: 慢查询: 启动慢查询常用配置:slow_query_log 启动停止记录慢查询日志slow_query_log_file 指定慢查询日志存储的路径及文件long_query_time指定记录慢查询日志SQL执行 时间的阈值(单位:秒,默认是10秒)log_queries_not_using_i... ...
分类:其他好文   时间:2020-06-12 00:47:25    阅读次数:61
[每日一题2020.06.12]P3375 【模板】KMP字符串匹配
题目链接 关于kmp : https://www.cnblogs.com/roccoshi/p/13096988.html 关于kmp, 想了很久, 我觉得不应该放在这里写, 另开一贴记录一下. #include<bits/stdc++.h> using namespace std; typedef ...
分类:其他好文   时间:2020-06-12 00:40:18    阅读次数:51
Java中使用反射对easyPoi做了一个统一导出接口(支持多sheet)
需求 做excel导出 接口统一,写一个接口即可,避免过多冗余代码,和后期维护工作。 前言 最近项目好多excel导出的需求,真的太多了,所以一个一个写,就算是cv也太浪费了。然后就想了一下,是不是可以做一个统一导出的逻辑。然后用了半天的时间写了一个。因为有些知识忘记了,又复习了一下。 这里用到了  ...
分类:编程语言   时间:2020-06-11 22:02:38    阅读次数:61
C++ map常用操作及迭代器
1.返回迭代器 map_date.begin(); map_date.end(); map_date.find(find_date); #include <iostream> #include <vector> #include <string> #include <map> using std:: ...
分类:编程语言   时间:2020-06-11 21:35:04    阅读次数:82
ORA-00742:Log read detects lost writein thread 1 sequence 1202 block 137840
问题背景: 客户数据库环境遭遇断电宕机,启动数据库失败,协助查看。 报错如下: 1 Total System Global Area 6442450944 bytes 2 Fixed Size 8807168 bytes 3 Variable Size 1375735040 bytes 4 Data ...
分类:其他好文   时间:2020-06-11 21:32:12    阅读次数:51
题解 CF482A 【Diverse Permutation】
看题解之前,希望大家先自己列张表,会发现规律哦~ 用递归 #include<bits/stdc++.h>//万能头文件 using namespace std; int a[100005];//保存答案,当然你也可以直接输出(假如你能做到的话) int hhh(int N,int K) { if(N ...
分类:其他好文   时间:2020-06-11 20:03:28    阅读次数:51
题解 CF294A 【Shaass and Oskols】
这题不是很难哦,为什么要看题解呢~ 看代码: #include<bits/stdc++.h>//万能头文件 using namespace std; int a[105];//保存电线上有多少鸟 int main() { int n; cin>>n;//读入 for(int i=1;i<=n;i++ ...
分类:其他好文   时间:2020-06-11 19:43:49    阅读次数:50
c++ 1注释 2变量 3常量
变量的例子 #include<iostream> using namespace std; int main(){ int a = 10; //打印出a=10 cout << "a="<<a<<endl; system("pause"); return 0; } 3常量的例子 /* 3.1宏常量 # ...
分类:编程语言   时间:2020-06-11 19:38:26    阅读次数:62
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!