de1ctf_2019_weapon 总结 本题与这篇文章或者这篇文章的思路是一模一样的,但是由于有个eidt功能,所以利用起来更方便。 主要思路是: 构造fastbin和unsorted bin的overlapped chunk 爆破1个字节,利用fastbin attack分配chunk到std ...
分类:
其他好文 时间:
2021-04-10 13:11:12
阅读次数:
0
已知接下来N天的股票价格,每天你可以买进一股股票,卖出一股股票,或者什么也不做.N天之后你拥有的股票应为0,当然,希望这N天内能够赚足够多的钱 ...
分类:
其他好文 时间:
2021-04-10 12:53:02
阅读次数:
0
#include #include<stdio.h> #include #include #include//按字典序输出 using namespace std; vector words; map<string,bool > dic; int main() { //连续读入字符 string w ...
分类:
其他好文 时间:
2021-04-09 13:13:53
阅读次数:
0
std::move 的定义 template <typename T> // typename表明type是一个类型 typename remove_reference<T>::type&& move(T&& t) { return static_cast<typename remove_refer ...
分类:
其他好文 时间:
2021-04-08 13:54:15
阅读次数:
0
当const修饰全局变量时,修改它会怎么样? 看如下代码: 1 #include <iostream> 2 using namespace std; 3 4 const double a = 10.5; 5 6 int main() { 7 double* p = const_cast<double ...
分类:
其他好文 时间:
2021-04-08 13:49:55
阅读次数:
0
吐槽 最后的BFS和DFS了,做完这个开始搞模拟!!! DFS 注意检查的是新坐标!!! 1 #include<bits/stdc++.h> 2 using namespace std; 3 int sx,sy,ex,ey; 4 int maps[6][6]; 5 int dir[4][2]={ 6 ...
分类:
其他好文 时间:
2021-04-08 13:47:42
阅读次数:
0
##一、问题描述 使用pip安装ipython pip install ipython,出现报错 Using cached https://mirrors.aliyun.com/pypi/packages/71/bd/042e63027bea950da4e6f5545eb59b973868da854 ...
分类:
编程语言 时间:
2021-04-08 13:13:41
阅读次数:
0
#include<bits/stdc++.h> using namespace std; int dir[8][2]={ {1,1}, {1,-1}, {1,0}, {0,1}, {0,-1}, {-1,-1}, {-1,0}, {-1,1} }; char maps[101][101]; int ...
分类:
其他好文 时间:
2021-04-08 12:57:57
阅读次数:
0
#include<bits/stdc++.h>using namespace std;int maze [5][5] = {0, 1, 0, 0, 0,0, 1, 0, 1, 0,0, 0, 0, 0, 0,0, 1, 1, 1, 0,0, 0, 0, 1, 0,};typedef struct { ...
分类:
其他好文 时间:
2021-04-07 11:33:01
阅读次数:
0
题目大意 给n个学生的邮箱地址和成绩 和成绩分界点g 名人堂人数k 统计总共发多少奖学金 按要求输出名人堂(成绩从大到小 一样成绩的话按字典序输出) 代码 #include<bits/stdc++.h> using namespace std; struct Node { string s; int ...
分类:
其他好文 时间:
2021-04-07 11:06:05
阅读次数:
0