我用ssh连上了ubuntu虚拟机, 尝试xclip命令时, 输入ls | xclip -sel c, 得到报错: Error: Can't open display: (null). 搜索后, 发现好像和X11和DISPLAY有关. 还说ssh应该打开-X选项. 可用ssh -X连接, 还是不行. ...
分类:
其他好文 时间:
2021-06-02 17:07:02
阅读次数:
0
#include <iostream> #include <vector> using namespace std; using ll = long long ; const int N=2e5+10; ll f[N],g[N],size1[N]; vector<int>gg[N]; void df ...
分类:
其他好文 时间:
2021-06-02 17:01:29
阅读次数:
0
三元环问题 解题思路: 度 = 入度 + 出度 根据 1、度小的连向度大的 2、若度相同,则编号小的连向编号大的 把所有的边建立成有向边(防止后面重复的统计三元环) 然后for循环遍历所有的边 判断所有的边的两端点,判断两个端点有没有连接,如果有连接,那么就ans++。 代码: #include < ...
分类:
其他好文 时间:
2021-06-02 16:59:52
阅读次数:
0
Default VPC components When we create a default VPC, we do the following to set it up for you: Create a VPC with a size /16 IPv4 CIDR block (172.31.0. ...
分类:
Web程序 时间:
2021-06-02 15:47:16
阅读次数:
0
Amazon Virtual Private Cloud (Amazon VPC) is a service that lets you launch AWS resources in a logically isolated virtual network that you define. You ...
分类:
其他好文 时间:
2021-06-02 15:44:17
阅读次数:
0
题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> #include <cstring> using namespace std; const int N = 100010, M = N << 1; int n, m; int h[N] ...
分类:
其他好文 时间:
2021-06-02 15:30:41
阅读次数:
0
Docker Tutorial Basic Docker Commands pull an image docker pull {image name}:{image version} list all docker images docker image ls -a create and run ...
分类:
其他好文 时间:
2021-06-02 15:27:12
阅读次数:
0
文章推荐: https://www.anquanke.com/post/id/98096 https://www.cnblogs.com/-qing-/p/10623583.html 推荐平台: http://www.dnslog.cn //不需要登录账户注册 速度快一点 简单测试推荐 http:/ ...
分类:
其他好文 时间:
2021-06-02 15:23:17
阅读次数:
0
An exception was thrown while activating Castle.Proxies.ProcedureAppServiceProxy.Autofac.Core.DependencyResolutionException: An exception was thrown w ...
分类:
其他好文 时间:
2021-06-02 14:54:19
阅读次数:
0
How Long Does It Take Given the relations of all the activities of a project, you are supposed to find the earliest completion time of the project. In ...
分类:
其他好文 时间:
2021-06-02 14:53:07
阅读次数:
0