mystery

[题解]CF1881G Anya and the Mysterious String

思路 发现如果一个字符串中有长度大于等于 \(2\) 回文子串,必定有长度为 \(2\) 的回文子串或长度为 \(3\) 的回文子串,并且形如:aa 和 aba。 所以考虑用线段树这两种情况。维护一段区间的最左、次左、最右、次右的元素,同时用两个标记变量 \(f_1,f_2\) 分别表示这个区间中是 ......
题解 Mysterious String 1881G 1881

G. Anya and the Mysterious String

G. Anya and the Mysterious String Anya received a string $s$ of length $n$ brought from Rome. The string $s$ consists of lowercase Latin letters and a ......
Mysterious String Anya and the

[BJDCTF2020]The mystery of ip

原理 X-forwarded-for SSTI模板注入 命令执行 解题过程 进入靶场,没发现什么,照例查看三个页面的原代码 flag页面会打印ip hint页面提示说如何知道我们的ip的 一般是通过数据包的X-Forwarded-for字段知道ip的,那我们抓包,可以发现的确是通过获取这个值来打印出 ......
mystery BJDCTF 2020 The ip

CF1425F Flamingoes of Mystery 题解

题目传送门 前置知识 前缀和 & 差分 解法 令 \(sum_k=\sum\limits_{i=1}^{k} a_k\)。考虑分别输入 \(sum_2 \sim sum_n\),故可以由于差分知识得到 \(a_i=sum_i-sum_{i-1}(3 \le i \le n)\),接着输入 \(a_2 ......
题解 Flamingoes Mystery 1425F 1425

CF1043D Mysterious Crime 题解

CF1043D Mysterious Crime 题解 题意 给定 \(m\) 个 长为 \(n\) 的序列,问它们的公共子串的个数。 \(n\le 10^5,m\le 10\)。 已经死掉的做法 一眼广义后缀自动机。建出后缀自动机,然后在 parent tree 上面跑 dfs。正确性会在下面证明 ......
题解 Mysterious 1043D Crime 1043

Mysterious

下载得到exe文件,然后题目提示要用逆向来写,把它拖入ida中 发现well done,打开反编译 这一行代码 1 if ( v4 == 122 && String[3] == 'x' && String[5] == 122 && String[4] == 121 ) 把符合条件的密码输入 ......
Mysterious
共6篇  :1/1页 首页上一页1下一页尾页