第一次五分钟过了cf A https://codeforces.com/contest/1270/problem/A 思路:谁拿到最大的牌即赢 官方: #include<bits/stdc++.h> #define ll long long using namespace std; const in ...
分类:
其他好文 时间:
2020-01-08 00:30:23
阅读次数:
80
https://blog.csdn.net/qq_33537945/article/details/79159070 https://gameinstitute.qq.com/community/detail/101996 https://blog.csdn.net/leeby100/article ...
分类:
编程语言 时间:
2020-01-07 18:19:13
阅读次数:
87
什么是 XSS 攻击? XSS 全称是 Cross Site Scripting(即跨站脚本),为了和 CSS 区分,故叫它XSS。XSS 攻击是指浏览器中执行恶意脚本(无论是跨域还是同域),从而拿到用户的信息并进行操作。 这些操作一般可以完成下面这些事情: 窃取Cookie。 监听用户行为,比如输 ...
分类:
其他好文 时间:
2020-01-07 13:33:49
阅读次数:
88
最近在使用DestroyImmediate的时候踩到一个坑:删除对象子物体的时候尽量不要用DestroyImmediate 这样写: for (int i = 1; i < starNodeRight.childCount; i++) {DestroyImmediate(starNodeRight. ...
分类:
其他好文 时间:
2020-01-06 12:51:34
阅读次数:
78
ABC059D "Alice & Brown" In this game, there are two piles initially consisting of $X$ and $Y$ stones, respectively. Alice and Brown alternately perfor ...
分类:
其他好文 时间:
2020-01-04 01:17:34
阅读次数:
62
面试题:你所了解的web攻击? 1、xss攻击 2、CSRF攻击 3、网络劫持攻击 4、控制台注入代码 5、钓鱼 6、DDoS攻击 7、SQL注入攻击 8、点击劫持 一、xss攻击 XSS攻击:跨站脚本攻击(Cross Site Scripting),攻击目标是为了盗取存储在客户端的cookie或者 ...
分类:
Web程序 时间:
2020-01-03 21:29:24
阅读次数:
142
先将 链接拼接编译 scope为snsapi_userinfo https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxf0e81c3bee622d60&redirect_uri=http%3A%2F%2Fnba.bluewebgame ...
分类:
其他好文 时间:
2020-01-03 14:19:32
阅读次数:
146
"题意" 我自闭了,连蓝题都不会了,还得看题解。 以下是我理解的官方做法,献给给广大没看懂官方题解的神仙们。作者蒟蒻,如果有什么不对的地方请指出。 观察题目的限制,发现$q$是一个$p^z$的形式,因此我们可以考虑每个质数$p$。 对于每个质数$p$,我们求出一个$0 1$串$state_i$,其中 ...
分类:
其他好文 时间:
2020-01-01 23:27:03
阅读次数:
67
You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend take tu ...
分类:
其他好文 时间:
2020-01-01 13:29:36
阅读次数:
62
"比赛链接" "A. Card Game" 显然,二者最大值大的人赢。 ${\frak{code:}}$ "C. Make Good" 异或与和进行比较不好处理,考虑先加一个数$xor$等于原数组的异或和,使异或值等于零,再加上$sum+xor$即可完成构造。 (因为$LL$输出$\%lld$ $W ...
分类:
其他好文 时间:
2020-01-01 10:02:17
阅读次数:
58