0x00:写在前面 膜拜了国内译者分析翻译了BlackHat的一篇议题(HTTP Desync Attacks: Smashing into the Cell Next Door) 收获满满,正好结合一道CTF题目将此知识点进行巩固 [RoarCTF 2019]Easy Calc 复现地址:http ...
分类:
Web程序 时间:
2020-05-02 22:31:08
阅读次数:
118
Photo by "); background-size: 1px 1px; background-position: 0px calc(1em + 1px);">Pavel Anoshin on "); background-size: 1px 1px; background-position: ... ...
分类:
其他好文 时间:
2020-04-30 11:47:20
阅读次数:
70
1 class Solution 2 { 3 void calc(stack<char>& op,stack<int>& num) 4 { 5 int y = num.top(); 6 num.pop(); 7 int x = num.top(); 8 num.pop(); 9 if(op.top( ...
分类:
其他好文 时间:
2020-04-29 23:33:47
阅读次数:
93
``` //序列具有周期性 #include #include #include #include using namespace std; typedef long long ll; const int N=5e4+10; ll sum[N]; ll a,b,q; ll calc(ll x) { ... ...
分类:
其他好文 时间:
2020-04-29 18:21:24
阅读次数:
64
//页面分为左右两部分,下面是主要的代码<div class="container"> <el-container style="height: calc(100vh - 90px); border: 1px solid #eee"> <el-aside width="300px" style="b ...
分类:
其他好文 时间:
2020-04-26 18:53:35
阅读次数:
306
今天写Bug的途中查到一个神器,不得不说google的强大,之前曾经查过这个问题,无果,今天用google发现了这个大杀器。 贴代码: Height="{calc:Binding ElementName=mainGrid,Path=ActualHeight/2}" Visibility="{calc ...
什么是递归? (1)递归必须有一个明确的结束条件,否则会报错 (2)每进入一个递归,问题的规模必须比之前都减少 (3)递归的效率不高,层次过多容易导致系统的内存溢出 定义一个函数: def calc(n): print(n) calc(n) #定义一个函数,然后再调用自己,一直生生世世的进行循环自己 ...
分类:
其他好文 时间:
2020-04-19 09:17:41
阅读次数:
84
calc 启动计算器 cleanmgr 垃圾清理 explorer 打开资源管理器 notepad 打开记事本 mem.exe 显示内存使用情况 Msconfig.exe 系统配置实用程序 mspaint 画图板 mstsc 远程桌面连接 Nslookup IP地址侦测器 osk 打开屏幕键盘 ta ...
分类:
其他好文 时间:
2020-04-06 23:29:55
阅读次数:
78
题面 Bzoj2655 解析 可以强制让$a$数列递增,最后乘以$n!$ 有一个显然的$dp$,$f[i][j]$表示填前$i$个位置,且填的数最大不超过$j$的序列权值和,易有:$f[i][j] = f[i][j-1] + f[i-1][j-1] * j$ $O(AN)$的$dp$显然会$T$ 设 ...
分类:
其他好文 时间:
2020-04-06 17:39:34
阅读次数:
66
可变参数(可以不传该参数) #参数numbers接收到的是一个tuple def calc(*numbers): sum = 0 for n in numbers: sum = sum + n * n return sum 关键字参数 def person(name, age, **kw): pri ...
分类:
其他好文 时间:
2020-04-02 11:52:40
阅读次数:
120