Lab 3-1 Question: 1.先对文件使用PEID进行查壳,显示文件被加壳处理过 2.使用Dependency Walker查看文件导入函数,文件只有一个DLL而且只有一个导入函数Exitprocess 3.使用Strings程序查看字符串,发现可疑字符串。 4.动态分析前期准备 4.1 ...
分类:
其他好文 时间:
2017-10-06 18:11:06
阅读次数:
118
Given two strings A and B, find the minimum number of times A has to be repeated such that B is a substring of it. If no such solution, return -1. For ...
分类:
其他好文 时间:
2017-10-06 13:55:06
阅读次数:
144
题意:求出一个字符串的最小周期 思路:1、枚举周期内的字符 2、可以用%的方法减少法1的枚举量。 注意:枚举包括 长度为strlen(s)的周期 1 #include<cstdio> 2 #include<cstring> 3 int main() 4 { 5 int n; 6 scanf("%d" ...
分类:
其他好文 时间:
2017-10-06 12:59:15
阅读次数:
199
【题目】D. Huge Strings 【题意】给定n个01串(总长<=100)和m次操作,每次将串ai和串bi取出来合并后作为串n+i,并输出串n+i的k。 对于一个串,k定义为最大的能在串中找到所有长度为k的01串的数字(例如k=2时,需要找到00,01,10,11)。m<=100。 【算法】结 ...
分类:
其他好文 时间:
2017-10-05 23:13:07
阅读次数:
243
Huge Strings 题意:给出n个01串,m个询问,每次询问将2个串拼接起来,然后求一个最大的k,使得长度为k的01串全部是这2个串的子串(一共2^k)个,拼接的新串可以作为后面询问的原串再次拼接 思路:直接暴力做,每次讲串拼接起来成为新串,然后枚举k,找到最大的可行的k,有一个地方可以记忆化 ...
分类:
其他好文 时间:
2017-10-05 22:38:53
阅读次数:
314
题意:输入n个字符串,m个询问(n, m<100)每次询问一个l, r询问最大的k,使得所有长度为k的二进制串都是s[l]+s[r]的子串 ...
分类:
其他好文 时间:
2017-10-05 22:35:00
阅读次数:
175
第一、查看系统glibc版本库 strings /lib64/libc.so.6 |grep GLIBC_ 这里我们可以看到系统中最新的版本是2.12,这里我们升级2.14. 第二、下载和安装glibc2.14 wget http://ftp.gnu.org/gnu/glibc/glibc-2.14 ...
分类:
其他好文 时间:
2017-10-05 17:38:54
阅读次数:
271
poj 2406 Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think o ...
分类:
其他好文 时间:
2017-10-05 12:22:42
阅读次数:
153
Given two strings A and B, find the minimum number of times A has to be repeated such that B is a substring of it. If no such solution, return -1.For ... ...
分类:
其他好文 时间:
2017-10-04 23:51:48
阅读次数:
582
You're now a baseball game point recorder. Given a list of strings, each string can be one of the 4 following types: Each round's operation is permane ...
分类:
其他好文 时间:
2017-10-04 22:58:13
阅读次数:
259