header utctf 2020 file

P9821 [ICPC2020 Shanghai R] Sum of Log

原题链接 题意,求: \[\sum_{i=0}^{X}\sum_{j=[i=0]}^{Y}[i\&j=0]\lfloor\log_2(i+j)+1\rfloor \]为简洁,记 \(\lg(x)=\lfloor\log_2(x)\rfloor,n=\max(X,Y)\) 由于 \(i\&j=0\) ......
Shanghai P9821 9821 2020 ICPC

Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!) B. Kuroni and Simple Strings

Problem - 1305B - Codeforces 啦啦啦,这题题目有点长,概括一下就是,希望将所有()匹配的括号去掉 问你需要操作多少次 双指针,一个i一个j,从前往后记录匹配的括号 如果发现: 1. 括号匹配 2. i<j ok,就放入ans (⊙o⊙)…,最后记得sort一遍ans,第一 ......
Challenge Div T-shirts Strings Kuroni

./rmblastn: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory

001、问题, ./rmblastn 命令报错如下: ./rmblastn: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory 0 ......
shared file directory libraries rmblastn

[网鼎杯 2020 朱雀组]phpweb

[BJDCTF2020]The mystery of ip 非预期 这题看着就不简单,页面总是刷新,报错都看不清,bp抓包看看。 bp抓到的包是一个用POST传参的传参的值为一个函数,试着修改一下这个函数,看看会有什么变化,输入system发现被过滤了,八成这个waf做得很完善,但正好之前看到一个骚 ......
朱雀 phpweb 2020

IntelliJ IDEA 2020.03 一下版本激活

1.下载 https://www.jetbrains.com/idea/download/other.html 2.安装 省略了 一步步往下 3.下载激活文件 先下载激活文件 链接:https://pan.baidu.com/s/1gfXCr8Htb3D-I7CW5ND41A?pwd=d86h 提取 ......
激活 IntelliJ 2020.03 版本 IDEA

[934] Run the python file directly (ArcGIS Pro)

ref: The Edit with IDLE and Run with ArcGIS Pro options are not available in the context menu when right-clicking Python files Description In some ins ......
directly ArcGIS python file 934

启动nginx报错nginx: [emerg] unexpected end of file, expecting "}" in /usr/local/nginx/conf/nginx.conf:

启动nginx报错:“nginx: [emerg] unexpected end of file, expecting “}” in /usr/local/nginx/conf/nginx.conf:118”重启nginx时,报这么个错: [root@localhost conf]# /usr/lo ......
nginx conf quot unexpected expecting

[MRCTF2020]Ez_bypass

打开题目后得到源码,可以使用 PHP 代码在线格式化一下,方便阅读。源码如下。 $flag = 'MRCTF{xxxxxxxxxxxxxxxxxxxxxxxxx}'; if (isset($_GET['gg']) && isset($_GET['id'])) { $id = $_GET['id']; ......
Ez_bypass bypass MRCTF 2020 Ez

nginx报错 [error] 612#4188: CreateFile() "C:\yjzx\nginx-1.24.0/logs/nginx.pid" failed (2: The system cannot find the file specified)

背景 无论是nginx -s stop还是nginx -s reload命令,都会出现这个错误。 [error] 612#4188: CreateFile() "C:\yjzx\nginx-1.24.0/logs/nginx.pid" failed (2: The system cannot fin ......
nginx quot CreateFile specified cannot

PHP file_get_contents(): SSL operation failed with code 1. OpenSSL Error message...

在调试php脚本代码时,发现使用 file_get_contents() 函数请求HTTPS的网址链接时出现了报错,其报错代码如下面所示“file_get_contents(): SSL operation failed with code 1. OpenSSL Error message...”百 ......

【python】-bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory的问题解决

安装单独的第三方库时没有问题 pip install pandas但是一旦使用requirement.txt批量安装第三方库时就会出现 -bash: /recorddata/rebuydata/hppy/soft/python3/bin/pip3: /usr/local/source/hppy/so ......
python interpreter bin directory usr

mysql docker容器中导入数据库失败 Failed to open file ‘‘****.sql‘‘, error: 2

mysql docker 容器中导入数据库失败【Failed to open file ‘’****.sql’’, error: 2】使用浑身解数docker exec -it xxxxxxxxx sh 进入mysql容器。mysql -uroot -pxxxx 登陆use database; 切换 ......
容器 数据库 数据 docker Failed

debian 11 安装docker-ce 出现异常 “Hash Sum mismatch Hashes of expected file”

最近接手一个新的项目,需要在内网布置一套新系统,有docker 版本的要求,原来的docker 版本过低需要进行升级,按部就班的升级docker如下 安装 # 这里是用的debian 11 # 如果安装过docker apt-get remove docker docker-engine docke ......
docker-ce mismatch expected debian Hashes

PageOffice保存时The file format is not allowed

情景描述:最新用PageOffice做word在线编辑功能,但是保存时一直报错The file format is not allowed。如下图: 问题分析:把word文件放到官方demo中,编辑保存没有问题,最后排查到是pageofficeCtrl.WebOpen传入的参数DocumentURL ......
PageOffice allowed format file The

[MRCTF2020]你传你呢

打开题目如下。 本题有坑点,就算是使用 mspaint 随意生成一个 jpg 图片进行上传,仍然提示:我扌your problem?。后面查看了 wp,发现是对上传内容的大小存在限制。 经尝试,使用 php、phtml、php5 等多种后缀都无法绕过检测,但可以上传 .htaccess 文件(.ht ......
MRCTF 2020

2020 CSPJ

【20CSPJ普及组】优秀的拆分 直接用二进制处理,不断对2取余,除2,如果奇数,那肯定就是不行的 #include<bits/stdc++.h> using namespace std; const int maxn=10100; const int INF=0x3fffffff; typedef ......
2020 CSPJ

NOMURA Programming Competition 2020 D Urban Planning

考虑排列 \(P_i\) 已经固定了的情况,那么连边 \(i\to P_i\) 形成有向图 \(G\),最小连边数就是 \(N\) 减去弱连通块数。善良的出题人已经告诉你连边方案就是 \((N-1)^K\),所以答案就是 \(N(N-1)^K\) 减去所有连边方案中弱连通块数量总和。于是只需要考虑所 ......

linux启动mysql数据库,报错mysql: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

如下 原因: 解决方案: 1、在/usr/lib64目录里面找一个差不多名称版本的文件进行链接 # 软连接出一个新的文件 sudo ln -s /usr/lib64/libtinfo.so.6.1 /usr/lib64/libtinfo.so.5 若本服务器没有相近版本的文件 2、从其他服务器下载一 ......
shared mysql file directory libraries

洛谷 P7115 [NOIP2020] 移球游戏 + P8866 [NOIP2022] 喵了个喵 警告--zhengjun

构造题注意事项 一定要转化思路,不要总是盯着一个特殊点; 多注意特殊点的变化: 例如 P7115 [NOIP2020] 移球游戏,如果总是盯着一个全不是 \(c\) 的栈和一个空的栈对其他栈操作,就会使得步数要翻一倍,然而如果只操作一半,那么此时可以用当前栈作为新的空栈,原来的空栈作为新的全不是 \ ......
NOIP zhengjun P7115 P8866 7115

题解 P6560 [SBCOI2020] 时光的流逝

题解 P6560 [SBCOI2020] 时光的流逝 首先考虑图上的点为 \(y\) 终点时,或者这个点无法继续向下走,即 \(du_i = 0\) 时,从这个点为起点先手必败,而对于每一个有一条指向先手必败的点的边的点,显然从这个点出发都是先手必胜的,以此类推。 可以考虑建反图,进行拓扑排序,转移 ......
题解 时光 P6560 SBCOI 6560

2023.10.31 USACO 2020 选做.md

P6009 Non-Decreasing Subsequences P 由于值域很小,dp 的转移不难想到写成矩阵的形式。 考虑维护矩阵的前缀积和逆前缀积。 然而单次的矩阵乘已经达到 \(O(k^3)\) 超时了,但是我们发现其实矩阵非 \(0\) 的位置是 \(O(k)\) 个的,所以复杂度降到了 ......
USACO 2023 2020 10 31

Please take a look at the provided example service unit files in this directory, and adapt and install them. Sorry!

安装Redis,执行 install_server.s 脚本时,出现如下报错: 解决方案,注释掉 install_server.sh 中的部分代码,注释代码详情如下: 再次执行 install_server.sh 脚本,结果如下: ......
and directory provided example install

docker安装msyql5.7报错:mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory)

安装mysql5.7时使用 #docker拉取镜像命令 docker pull mysql:5.7 #docker安装MySQL命令 docker run -p 3306:3306 --name mysql -v /mydata/mysql/log:/var/log/mysql -v /mydata ......
directory 39 Errcode docker msyql5

[ACTF2020 新生赛]Exec

一道简单的任意命令执行题目,题目如下。 很明显,提供了一个 Ping 命令的功能,因此可以猜测后台是要求用户输入 IP 地址,而后后台使用 Ping 命令去 Ping 用户输出的 IP 地址,因此输入 Payload:;ls -al / 即可看到根目录下存在什么文件。 随后输入 Payload:;c ......
新生 ACTF 2020 Exec

[极客大挑战 2019]Secret File

打开题目如下。 查看页面源代码,发现存在 Archive_room.php 文件。 访问 Archive_room.php 文件如下。 使用 BurpSuite 抓包,点击 SECRET 后,发现其中某个跳转的页面源代码存在提示 secr3t.php。 HTTP/1.1 302 Found Serv ......
Secret 2019 File

linux输入yum后提示: -bash: /usr/bin/yum: No such file or directory的解决方法

https://blog.csdn.net/moveym/article/details/125569233 一、首先了解Linux系统下这两个命令的区别 yum: 属于:RedHat系列 常见系统有:Redhat、Centos、Fedora等 apt-get: 属于:Debian系列 常见系统:D ......
directory yum 方法 linux bash

linux系统报Too many open files的错误

1、 https://www.cnblogs.com/zj-cloud/articles/17169769.html 一、openfile文件描述符不够 故障现象: 程序会报Too many open files的错误,是因为open files 数目不够 排查思路: 1、ulimit -a 或ul ......
错误 系统 linux files many

[ACTF2020 新生赛]BackupFile

题目提示需要寻找备份文件。 通过字典,找到后台存在一个名为:index.php.bak 的文件,打开后源码如下: <?php include_once "flag.php"; if(isset($_GET['key'])) { $key = $_GET['key']; // 判断一:是否为数字,此处 ......
BackupFile 新生 ACTF 2020

[BJDCTF2020]Easy MD5

打开题目,发现是一个输入框,抓响应包后发现存在如下提示:Hint: select * from 'admin' where password=md5($pass,true)。 当 PHP 的 md5() 函数的第二个参数为 True 时,会将 string 转换为 16 字符的二进制格式,如使用一些 ......
BJDCTF 2020 Easy MD5 MD
共1281篇  :10/43页 首页上一页10下一页尾页