round_up.cpp内容如下: #include <iostream> using namespace std; const int kAlign = 8; // kAlign show be powers of 2, say 2, 4 ,8, 16, 32, ... const int kAl ...
分类:
其他好文 时间:
2020-07-28 13:51:52
阅读次数:
100
#include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;const ll nl=1e5+5;/ ...
分类:
其他好文 时间:
2020-07-27 09:31:11
阅读次数:
66
tap def tap(self: T, positions: List[Tuple[int, int]], duration: Optional[int] = None) -> T: """Taps on an particular place with up to five fingers, h ...
分类:
移动开发 时间:
2020-07-27 09:24:25
阅读次数:
114
#include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;const ll nl=1e5+5;/ ...
分类:
其他好文 时间:
2020-07-26 23:23:20
阅读次数:
105
Ubuntu 20.04 Install Guest Additions for VirtualBox时有报错: This system is currently not set up to build kernel modules.Please install the gcc make perl ...
分类:
系统相关 时间:
2020-07-26 23:00:43
阅读次数:
94
彩笔一个,后来看其他师傅的wp才知道还有这些做法。 #WEB1 Ezfileincude 打开题目是一张图片,直接看源码发现存在 image.php?t=XXXXXX&f=XXXXXXX t是时间戳,f是图片路径的base64加密 后面测试发现题目过滤了../ // ./,最后发现可以在f=imag ...
分类:
其他好文 时间:
2020-07-26 15:52:43
阅读次数:
235
【RN小记】解决Mac下Pod install 缓慢 或 error: RPC failed; 或 the remote end hung up unexpectedly
分类:
系统相关 时间:
2020-07-24 21:33:52
阅读次数:
174
Ubuntu系统中安装Mercurial 以支持hg pip install mercurial # 通过 pip 安装 Mercurial hg --version # 查看 Mercurial 版本 hg clone http://hg.openjdk.java.net/jdk8/jdk8 op ...
分类:
系统相关 时间:
2020-07-23 23:25:51
阅读次数:
128
接口绑定,就是在 MyBatis 中任意定义接口,然后把接口里面的方法和 SQL 语句绑 定, 我们直接调用接口方法就可以,这样比起原来了 SqlSession 提供的方法我们可 以有更加灵活的选择和设置。 接口绑定有两种实现方式,一种是通过注解绑定,就是在接口的方法上面加上 @Select、@Up ...
分类:
其他好文 时间:
2020-07-21 22:36:14
阅读次数:
101
update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 update-alternatives --install /usr/bin/python python /usr/bin/python3.4 2 up ...
分类:
编程语言 时间:
2020-07-21 13:46:26
阅读次数:
55