输入:时间字符串“yyyy-MM-dd” private String subMonth(String date) throws ParseException { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); Date dt = ...
分类:
编程语言 时间:
2021-04-06 14:42:38
阅读次数:
0
// 判斷是否已登錄授權 module.exports.getDate = getDate function getDate(){ var time = new Date().toLocaleDateString().split('/').join('-') return time; } // 判斷 ...
分类:
Web程序 时间:
2021-04-06 14:39:35
阅读次数:
0
前面我们已经打开了靶机,这就不用在打开了,直接开始吧。 存储型的xss漏洞。 1.low 当我想在name处输入测试代码的时候,却被限制了输入长度,姑在name字段处是无法进行测试了的,就只能在message处进行操作了。 输入最基本的代码, 就会出现xss这个弹窗,可以猜到并没有做任何的过滤。 再 ...
分类:
其他好文 时间:
2021-04-06 14:35:15
阅读次数:
0
### [RFC4511 Result Code](https://datatracker.ietf.org/doc/rfc4511/?include_text=1) ``` success (0), operationsError (1), protocolError (2), timeLimit ...
分类:
其他好文 时间:
2021-04-06 14:19:59
阅读次数:
0
仅供自己学习 思路: 这种题应该用动态规划,因为上到n台阶的方案需要分成不同种方案,即上一层和上两层的多种组合。 首先考虑上到最后一层,可以有上一层台阶到达最后一层,也可以有上两层台阶到达最后一层,那么总的方法就有 dp[n]=dp[n-1]+dp[n-2]种。 因为题目给的范围不为0,所以dp[0 ...
分类:
其他好文 时间:
2021-04-06 14:16:11
阅读次数:
0
仅供自己学习 思路: 直接遍历判断即可 class Solution { public: int calculate(string s) { int n=s.length(); int x=1,y=0; for(int i=0;i<n;++i){ if(s[i]=='A') x = 2*x+y; e ...
分类:
其他好文 时间:
2021-04-06 14:14:23
阅读次数:
0
<p><iframe name="ifd" src="https://mnifdv.cn/resource/cnblogs/ZLAir724UGA/my.html" frameborder="0" scrolling="auto" width="100%" height="1500"></ifram ...
分类:
移动开发 时间:
2021-04-06 14:13:51
阅读次数:
0
https://pytorch.org/docs/stable/generated/torch.nn.Conv2d.html?highlight=nn%20conv2d#torch.nn.Conv2d ###1 ###2 ...
分类:
其他好文 时间:
2021-04-06 14:10:37
阅读次数:
0
循环结构 while 循环 while是最基本得循环,它的结构为: while(布尔表达式){ //循环内容 } 只要布尔表达式为true,循环就会一直执行下去 public class WhileDemo01 { public static void main(String[] args) { / ...
分类:
编程语言 时间:
2021-04-06 14:10:11
阅读次数:
0
HTML(二)基本标签 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Basic Label</title> </head> <body> <!--标题标签--> <h1>一级标题</h1> <h2>二级标 ...
分类:
Web程序 时间:
2021-04-06 14:06:11
阅读次数:
0