码迷,mamicode.com
首页 >  
搜索关键字:network namespace    ( 53294个结果)
docker-compose 文件参考
参考: https://www.yuque.com/keep_running/python/prkdk8 version: '3' services: db: image: postgres restart: always environment: POSTGRES_PASSWORD: 12345 ...
分类:其他好文   时间:2020-10-30 12:28:10    阅读次数:23
Springboot集成fastDFS
配置文件配置fdfs_client.conf配置文件#连接超时时间,针对socket套接字函数connect,默认为30秒connect_timeout=30000#网络通讯超时时间,默认是60秒network_timeout=60000tracker_server=47.98.159.15:22122导入依赖<dependency><groupId>org.csource
分类:编程语言   时间:2020-10-30 11:35:42    阅读次数:25
拓扑排序(输出字典序最小的)
题意: 拓扑排序,输出字典序最小的。 思路:优先队列优化。 #include <iostream> #include <vector> #include <queue> #include<string.h> using namespace std; int n, m; const int N=1e5 ...
分类:编程语言   时间:2020-10-29 10:24:45    阅读次数:26
linux常用命令
打开终端 ctrl+alt+t 查看IP # 若提示找不到命令,则需安装 net-tools sudo apt-get install net-tools ifconfig -a 配置 ###静态ip vi /etc/sysconfig/network-scripts/ifcfg-xxx DEVIC ...
分类:系统相关   时间:2020-10-29 09:57:37    阅读次数:75
279. 自然数拆分
完全背包模型 二维 #include<iostream> using namespace std; const int N = 4010; const unsigned int mod = 1 << 31; unsigned int f[N][N]; int n; int main(){ cin > ...
分类:其他好文   时间:2020-10-29 09:20:50    阅读次数:15
PTA团体程序设计天梯赛题目集 L1-064 估值一亿的AI核心代码 (20分)
去年比赛的时候虽然对了,但写的好麻烦,以至于后面不敢再写这道题,今天又写了一遍,贴出来做纪念。 #include<stdio.h> #include<bits/stdc++.h> using namespace std; #define ll long long #define io_opt ios ...
分类:其他好文   时间:2020-10-27 11:46:36    阅读次数:32
poj3348Cows 凸包板子
凸包板子 #include<iostream> #include<cstdio> #include<cmath> #include<cstring> #include<algorithm> using namespace std; struct Point { int x,y; }; Point a ...
分类:其他好文   时间:2020-10-27 11:27:51    阅读次数:20
centos7 下修改网络配置
1. 自动获取ip 1.1 编辑 /etc/sysconfig/network-scripts/ifcfg-eth0 vim /etc/sysconfig/network-scripts/ifcfg-eth0 TYPE=Ethernet BOOTPROTO=dhcp DEFROUTE=yes IPV ...
分类:其他好文   时间:2020-10-27 11:27:39    阅读次数:28
FUNDAMENTAL PART4 DP
DP +++ 一.背包问题 1.01背包 二维数组状态转移 #include <iostream> using namespace std; const int N = 1010; int v[N], w[N]; int n, m; int f[N][N]; int main() { cin >> ...
分类:其他好文   时间:2020-10-26 11:54:14    阅读次数:26
【题录】Atcoder Tenka1 Programmer Contest 2019
C. 前缀和。 #include <bits/stdc++.h> using namespace std; #define maxn 300000 #define INF 10000000 char c[maxn]; int n, ans = INF, sumB[maxn], sumW[maxn]; ...
分类:其他好文   时间:2020-10-26 11:41:45    阅读次数:22
共53294条   上一页 1 ... 76 77 78 79 80 ... 5330 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!