ICode9

精准搜索请尝试: 精确搜索
  • drgn was built without libkdumpfile suppor问题2022-09-11 09:00:36

    背景 在使用pip3安装了最新的drgn后执行 drgn -s vmlinux -c ./vmcore 命令后报出如下错误: drgn 0.0.20+unknown (using Python 3.6.8, elfutils 0.186, without libkdumpfile) Traceback (most recent call last): File "/usr/local/bin/drgn", line 11, in <module> l

  • leetcode 3. Longest Substring Without Repeating Characters 无重复字符的最长子串2022-05-15 14:02:28

    一、题目大意 https://leetcode.cn/problems/longest-substring-without-repeating-characters/ 给定一个字符串 s ,请你找出其中不含有重复字符的 **最长子串 **的长度。 示例 1: 输入: s = "abcabcbb" 输出: 3 解释: 因为无重复字符的最长子串是 "abc",所以其长度为 3。 示例 2

  • opencv 报错 <built-in function groupRectangles> returned NULL without setting an error2022-04-21 20:01:04

    部署到生产环境时,使用opencv调用函数groupRectangles来对一些矩形区域进行分组时,报错 <built-in function groupRectangles> returned NULL without setting an error 开发环境不报错,现在突然报错,有点懵逼。 经过一番查找,终于有幸找到了解决方案,先贴下原来的代码: rect_groups, we

  • AtCoder Grand Contest 037(without F)2022-04-11 09:32:34

    AGC037 A - Dividing a String 洛谷传送门 AGC037A 分析 考虑每一段长度只可能是一或二,设 \(dp[i]\) 表示以 \(i\) 为结尾的前缀最多可以分成多少段。 如果 \(s[i]\) 和 \(s[i-1]\) 不同,那么 \(dp[i]=dp[i-1]+1\), 否则可以将 \(s[i-2,i-1]\) 分成一段,把 \(s[i]\) 分成一段,那么 \(

  • 关于Mouse Without Border的三(3)台及以上(2台以上)的设备用法2022-01-22 23:34:20

    1这大段为废话 可以直接跳过 直接到2 今天了解到了Mouse Without Border可以一套键鼠跨屏控制多台设备 两台设备间的连接按着软件提示很轻松就能做到 碰巧的是手头上刚好有三台设备 想连第三台 怎么样都不行 忙活几个小时   先来去翻了下这边的手册 再是找到打勾直接点击输入

  • R包 tableone 总结2022-01-20 14:30:12

    tableone CreateTableOne(dat) # dat without missing # 一般使用以下的代码 vars <- colnames(dat)[3:6] vars_Fac <- c("male", "white") # 分类变量 table1 <- CreateTableOne(vars = vars, strata = "trt"

  • mysql报错11752022-01-18 12:32:02

    mysql报错1175 第一种方法: 当用MySQL Workbench进行数据库的批量更新时,执行一个语句会碰到以下错误提示: Error Code: 1175 You are using safe…without a WHERE that uses a KEY column 因为是MySQL Workbench的默认的安全设置是不能批量更新表的。当要执行的SQL语句是进行

  • LeetCode 3. Longest Substring Without Repeating Characters (Medium)2021-12-30 02:03:56

    题目   Given a string s, find the length of the longest substring without repeating characters. Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3. Example 2: Input: s = "bbbbb" O

  • cf1067 A. Array Without Local Maximums(计数dp)2021-12-21 22:03:46

    题意: 对数组中的任何一个数,要求存在一个相邻数大于等于它。数组中的一些数未确定(记为-1),求填数方案数,对 998244353 取模。 n <= 2e5, 1 <= a[i] <= 200 思路: 前缀和优化的dp \(f(i,j,1)\) 表示填完了 \(a[1,i]\) ,最后一位 \(a_i=j\) ,且 \(a_{i-1} \ge a_i\) ; \(f(i,j,0)\) 表示 \(a

  • nginx添加https模块2021-12-17 14:01:28

    nginx添加https模块 在配置文件nginx.conf,开启了https监听后,nginx -t检查报错如下,表明ssl参数需要使用ngx_http_ssl_module nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module 检查现有模块 查看nginx已安装的模块,说明没有http_ssl_module模块 nginx -V ...

  • 3. Longest Substring Without Repeating Characters2021-12-13 01:02:46

    Question: Longest Substring Without Repeating Characters Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3. Example 2: Input: s = "bbbbb" Output: 1 Explanation: The answer is &q

  • nginx+lua+redis实现网关层面服务切换[openresty版]2021-12-12 21:00:50

    一、搭建 1、下载安装依赖包 yum install readline-devel pcre-devel openssl-devel gcc 2、下载源码包 https://openresty.org/download/openresty-1.13.6.2.tar.gz 3、解压安装 解压缩安装(将其安装到 --prefix 指定的 /opt/openresty 文件夹下,不指定则会默认到 /usr/loc

  • centos7源码安装Nginx-1.62021-12-11 21:00:41

    目录一.环境介绍二.安装三.使用验证四.附录编译参数详解 一.环境介绍 nginx的版本功能相差不大,具体支持可以查看官网的功能列表 环境信息: [nginx-server] 主机名:host-1 系统:centos-7.6 地址:1.1.1.1 软件:nginx-1.16.1 二.安装 1.安装依赖包 yum -y install gcc ma

  • A. Life Without Zeros【1000 / 模拟】2021-10-17 09:31:54

    https://codeforces.com/problemset/problem/75/A #include<bits/stdc++.h> using namespace std; int solve(string s) { int sum=0; for(int i=0;i<s.size();i++) if(s[i]>'0') sum=sum*10+s[i]-'0'; return sum; } int main(void) {

  • nginx编译参数详解2021-10-15 14:04:39

    nginx编译参数详解 -–prefix=PATH #指向安装目录 -–sbin-path=PATH #指向(执行)程序文件(nginx) -–conf-path=PATH #指向配置文件(nginx.conf) -–error-log-path=PATH #指向错误日志目录 -–pid-path=PATH #指向pid 文件(nginx.pid) -–lock-path=PATH #指向 lock 文件(nginx.loc

  • RK1808移植zbar-0.102021-09-18 18:33:49

    1 下载 下载Zbar源码: http://zbar.sourceforge.net/download.html 注意 git上的源码无configure配置文件, https://github.com/ZBar/ZBar 解压缩: tar -jxvf zbar-0.10.tar.bz2 2 配置文件 创建输出目录 cd zbar-0.10 mkdir

  • F. Graph Without Long Directed Paths2021-09-12 20:04:25

    传送门 题意:对每条边定向,使得图中不存在长度为2的路径。 分析:相当于对每个点颜色,类似于二分图染色。然后再check一下合法性即可。 c o d e

  • nginx的安装2021-08-11 08:31:47

    nginx的安装方式一、YUM安装部署二、源码安装部署一、YUM安装部署1、登录http://nginx.org/官网,点击右侧的download。2、点击当前页面最下方的stable and mainline:3、选择RHEL、CentOS:4、复制配置文件,创建nginx.repo文件:[root@anonymous yum.repos.d]# vim nginx.repo [nginx-sta

  • 两台独立计算机共享一套键鼠2021-07-25 04:31:06

    转载 软件方法:无界鼠标 mouse without borders 网上一搜有很多软件:Synergy、Input Director、mouse without borders,最后选了mouse without borders。主要考虑到他是微软官方出品,而且完全免费。 mouse without borders(也叫无界鼠标)最多可以实现4台电脑共享一套键鼠,同时也可以通

  • SCAN Learning to Classify Images without Labels(翻译)2021-07-15 10:30:16

    SCAN Learning to Classify Images without Labels 概览 Approach: A two-step approach where feature learning and clustering are decoupled. Step 1: Solve a pretext task + Mine k nearest neighbrs 通过利用特征相似性来挖掘每张图片的最近邻居nearest neighbors,研究发

  • LeetCode 3:Longest Substring Without Repeating Charact2021-07-11 09:52:41

    LeetCode 3:Longest Substring Without Repeating Charact Given a string s, find the length of the longest substring without repeating characters. 说人话: 在一个字符串中寻找没有重复字母的最长子串。 举例1: 举例2: 举例3: 举例4: [法1] 滑动窗口 思路 滑动窗口的思想

  • SublimeText粘贴图片保存到本地2021-06-28 17:56:27

    title author date CreateTime categories SublimeText 粘贴图片保存到本地 lindexi 2018-05-22 15:15:26 +0800 2018-05-22 14:59:29 +0800   在写 Markdown 时,比较难的是把图片粘贴保存到本地,或上传到服务器。 本文提供一个简单的方式可以把剪贴板的图片粘贴保存本

  • 最新版本Tengine编译安装【v2.3.3】2021-06-17 09:52:50

    > tengine编译安装文档,不定期更新。 ### 1.相关资源包的最新版本下载地址 - tengine: https://tengine.taobao.org/download.html - openssl: https://ftp.openssl.org/source/ ### 2.基础依赖包的安装 ``` yum install -y wget gcc pcre-devel perl ``` ### 3.最新版本源代码

  • 创新的重要性及鼓励措施2021-06-05 16:34:26

    救命作文1 Provided that our human society intends to acquire and enjoy long-time prosperity,it is (not) advisable for humans to maintain their innovative minds. Living in an era of information,we are using a variety of technological products, (which are based

  • 英语入门班第十四课-⑧ within、without、使用频率不高的介词 的用法及少数介词的区别2021-06-04 13:04:13

    目录 一、within within 在……时间之内 二、without (一)、 没有(带),不,无 (二)、表示条件(如果没有) 三、出现频率不高的介词 (一)、Across (二)、along (三)、among (四)、outside (五)、Into       (六)、Beyond (七)、against (八)、out of (九)、onto      (十)、upon (十一)、In front of (十二)、A

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有