shadow the dog and

An Introduction to Bioinformatics Algorithms, Neil C. Jones and Pavel Pevzner, the MIT Press, 2004.

An Introduction to Bioinformatics Algorithms, Neil C. Jones and Pavel Pevzner, the MIT Press, 2004. This introductory text offers a clear exposition o ......

B. Preparing for the Contest

原题链接 快速读题 给出一个序列,使其满足\(a[i]>a[i-1],i>1\)成立的次数恰好为k 思路 只要满足条件的序列都算作成立,我们就可以特殊化 先做出一个单增序列,由于前半部分所有元素都满足条件,所以前半部分保留(k+1)个元素,翻转后(n-k-1)个元素 但是sort默认升序,所以我们倒 ......
Preparing Contest for the

vulnhub Me and My Girlfriend靶场

目录1.信息收集2.漏洞挖掘3.漏洞利用4.提升权限 1.信息收集 扫描存活主机 sudo arp-scan -l 扫描主机的开放端口 nmap -p- 192.168.42.156 扫描端口具体开放服务 nmap -p 22,80 -A -sV 192.168.42.156 扫描网站指纹 what ......
靶场 Girlfriend vulnhub and Me

error: Your local changes to the following files would be overwritten by merge 解决方案

团队其他成员修改了某文件并已提交入库,你在pull之前修改了本地该文件,等你修改完代码再pull时,这时会报错如下错误 根据是否要保存本地修改,有以下两种解决方案 2.1 保留修改执行以下三条命令 git stash #封存修改 git pull origin master git stash po ......

sans sec 565 Red Team Operations and Adversary Emulation - 红队运营和对手仿真 之 565.1 Lab 1.3:侦察和密码攻击

sans sec 565 Red Team Operations and Adversary Emulation - 红队运营和对手仿真 之 565.1 Lab 1.3:侦察和密码攻击 目标 通过分析 Draconem.io 网站进行侦察 确定密码攻击的目标对象 通过收集电子邮件地址发现有效的用户名 ......
红队 Operations 565 Adversary Emulation

CF573B Bear and Blocks

题意 给定每列有多少个方块 \(h_i\)。 每次炸掉边缘的方块。 问你几次能把所有方块炸完。 Sol *1600 竟然还开了题解,该退役了。 发现每个方块只会有三种情况影响时间。 设每列的最短时间为 \(v_i\)。 \(h_i\) \(v_{i - 1} + 1\) \(v_{i + 1} + ......
Blocks 573B Bear 573 and

MySQL server is running with the --super-read-only option的解决办法

原因 数据库是只读模式 解决办法 修改为读写模式 mysql -uroot -p你的密码 进入mysql select @@read_only; set global read_only=0; # 顺便设置可远程连接(不需要可跳到flush privileges) use mysql; update ......
super-read-only running 办法 server option

CentOS7 yum错误:One of the configured repositories failed (Unknown)

一、现象 二、原因 可能会有其他原因造成该问题(如,网络问题)。我这边的问题是红框中指定镜像重复,导致yum命令执行失败。 三、解决 cd /etc/yum.repos.d 排查重复的repo并将其删除。 ......

Nacos启动:[NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached

一、表象 二、分析 源码: public HttpRestResult<String> httpPost(String path, Map<String, String> headers, Map<String, String> paramValues, String encode, long re ......

WMTS . WMS focuses on flexibility in the client request enabling clients to obtain exactly the final image they want.

WMTS - Introduction — OGC e-Learning 2.0.0 documentation https://opengeospatial.github.io/e-learning/wmts/text/main.html WMTS - Introduction Introduct ......
flexibility the enabling focuses clients

CF1593E-Gardener-and-Tree-题解

title: CF1593E Gardener and Tree 题解 date: 2022-05-27 21:30:48 categories: - 题解 原题面 题意: 给出一个 \(n\) 个点的树,删除 \(k\) 次叶子节点,求剩下的节点数。 思路: 设 \(cnt_i\) 为 \(k\) ......

CF1861C-Queries-for-the-Array-题解

title: CF1861C Queries for the Array 题解 date: 2023-09-06 07:53:53 categories: - 题解 因为插入和删除操作都在队尾,所以对序列前缀分析一下: 若一个序列的答案为 YES,那么它前缀的答案也为 YES。(对于没检查过的序列) ......

AT_abc323_f [ABC323F] Push and Carry 题解

不难发现答案的下界为 \(|x_b-x_c|+|y_b-y_c|\),这是每步都推箱子的情况。 但很多时候并不能直接开始推箱子,所以人要先移动到箱子的后面(相对于目的地),再把箱子往目的地推。 比如这种情况(B 为箱子,C 为目的地): B.. ... ..C 推完箱子的一边后,还要走到另一边: ↓ ......
题解 323 AT_abc Carry 323F

Nacos启动:[NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached

一、表象 二、分析 源码: public HttpRestResult<String> httpPost(String path, Map<String, String> headers, Map<String, String> paramValues, String encode, long re ......

The fourth day learning summary

一、for 循环循环就是重复做某件事,for循环是python提供第二种循环机制(第一种是while循环),理论上for循环能做的事情,while循环都可以做。目的:之所以要有for循环,是因为for循环在循环取值(遍历取值)比while循环更简洁。代码示例:for i in range(1, 11 ......
learning summary fourth The day

Shadow DOM处理html渲染,样式隔离

参考文章 https://cloud.tencent.com/developer/article/1965869 handleDetailData() { this.content = ` <style> ${markdown.style} </style> ${this.content} `; / ......
样式 Shadow html DOM

高等数值分析(高性能计算,并行计算) (Parallel and High Performance Computing)

https://github.com/OpenMP https://math.ecnu.edu.cn/~jypan/Teaching/ParaComp/ Parallel and High Performance Computing(高等数值分析(高性能计算,并行计算)) 基本信息: 教材:本课程主 ......

MVN 安装报错 java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

mvn pom 安装报错 java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty 方法一 主要是带有 https 仓库认证不通过 忽略ssl证书检验即可 mvn cl ......

CF757G Can Bash Save the Day?

牛子题 先观察询问怎么处理,因为是棵树,直接拆 \(dis\) ,有 \(dis(p_i,x)=dis[p_i]+dis[x]-2\times dis[lca]\) ,前两项很好处理,但是对于 \(dis[lca(p_i,x)],i \in [l,r]\) 比较难处理,但是可以转化成经过这条边的次数 ......
757G Bash Save 757 Can

Build Secure Web Services With SOAP Headers and Extensions

原文如下: https://www.developer.com/microsoft/dotnet/build-secure-web-services-with-soap-headers-and-extensions/ 摘录我最想要的Extensions部分 <%@ WebService Langua ......
Extensions Services Headers Secure Build

Queries for the Array 题解

前言 这场 CF 是我赛后打的,vp 赛时没做出来,后来发现是有个地方理解错了,有一些细节没有考虑到。现在换了一种思路来写,感觉更清晰了。 做法 首先需要动态维护三个变量,\(cnt\) 和 \(finishsort\) 和 \(unfinishsort\)。这三个变量分别表示当前数字的个数,已经排 ......
题解 Queries Array for the

Omkar and Akmar 题解

题意:有一个 \(n\) 个点的环,以及两个人。每个人可以向环中任意一个位置放置一个 \(A\) 或者 \(B\),但是相邻的位置不能相同,不能行动者输。问最终的局面有多少种。 一个结论是:后手必胜。 证明:最终肯定不可能出现两个连续的空格,否则一定可以在其中一个上填 \(A\) 或 \(B\)。所 ......
题解 Omkar Akmar and

Animals and Puzzle 题解

原题链接:CF713D 题意:给定一个 \(n\times m\) 的地图 \(a\),\(a_{i}\) 为 \(0\) 或 \(1\)。有 \(t\) 次询问,每次询问给定一个矩形,求出这个矩形中最大的由 \(1\) 构成的正方形的边长是多少。 首先考虑预处理出 \(d_{i,j}\) 表示以 ......
题解 Animals Puzzle and

B. Swap and Delete

原题链接 反思 要明确每个变量的含义!!! 读题 1.取一对01置换,或者删掉一个元素,使得经过若干次改变后的序列\(t\),和\(s\)的前\(|t|\)项元素各不相同。求问最少要删掉几个元素? 一些事实的思考 1.对于一个给定的序列\(a\),和另一个 “0的个数”与“1的个数”均相同,但是排列 ......
Delete Swap and

《CLIP:Connecting text and images》论文学习

一、Abstract 尽管深度学习已经彻底改革了计算机视觉领域,但当前的深度学习视觉方案方法存在几个主要问题: 高质量的视觉数据集,制作过程耗时且成本高昂,同时只包含了有限范围的视觉概念 标准的深度学习视觉模型(例如ImageNet、ResNet)擅长完成单一任务,且只能完成一个任务,需要投入巨大的 ......
Connecting images 论文 CLIP text

树的层次遍历 Trees on the level uva122

原题链接 这道题可以说基本涵盖了树的大部分知识点——树的创建,树的生成,树的删除,树的BFS(宽度优先搜索)。个人认为是学习树时很具有价值的一道题目。 题目意思很好理解,讨论区的题解写的也比本人优秀太多了,这里就不具体分析了。 ......
层次 Trees level 122 the

Nacos启动:[NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached

一、表象 二、分析 源码: public HttpRestResult<String> httpPost(String path, Map<String, String> headers, Map<String, String> paramValues, String encode, long re ......

【misc】[NSSRound#12 Basic]Secrets in Shadow --linux提权,shadow文件hash爆破

首先使用ssh连上主机 :ssh ctf@node5.anna.nssctf.cn -p 28844 接着再输入ls -al查看文件 尝试打开文件,发现权限不够,根据题目的提示打开shadow文件 在以前的Linux系统中,用户名、所在的用户组、密码(单向加密)等信息都存储在、/etc/shadow ......
NSSRound Secrets 文件 Shadow shadow

BIgdataAIML-IBM-A neural networks deep dive - An introduction to neural networks and their programming

https://developer.ibm.com/articles/cc-cognitive-neural-networks-deep-dive/ By M. Tim Jones, Published July 23, 2017 Neural networks have been around f ......