题目:这里 题解:2996反过来就行了。题解这里//POJ 2993#include <stdio.h>#include <string.h>#include <iostream>char mp[40][40];char s1[40], s2[40];int main(){ //打印没有字母的空盘 for(int i = 0; i < 8; i++) {
原创
2022-04-19 14:43:16
19阅读
Emag eht htiw Em PlehTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 1950Accepted: 1315DescriptionThis problem is a reverse case of the problem 2996. You are given the output of the problem H and your task is to find the corresponding input.Inputaccording to output of problem 2996.Outputacc
转载
2012-08-13 16:44:00
118阅读
2评论
题目地址:http://poj.org/problem?id=2993 1 /* 2 题意:与POJ2996完全相反 3 模拟题 + 字符串处理:无算法,读入两行字符串找出相应点用used标记,输出时标记过的输出字母,否则输出'.'或':'。 4 注意:棋盘的行的顺序...
转载
2015-03-27 18:03:00
28阅读
2评论
题目地址:http://poj.org/problem?id=2993
原创
2023-04-13 22:49:14
48阅读
POJ 刷题系列:2993. Emag eht htiw E
原创
2023-07-10 19:44:25
47阅读
Emag eht htiw Em PlehTime Limit:1000MSMemory Limit:65536KTotal Submissions:2806Accepted:1865DescriptionThis problem is a reverse case of theproblem 29...
转载
2014-11-12 20:51:00
91阅读
2评论
添加步骤:1、进入设备管理器 2、点下一步3、继续下一步4、继续往下走
原创
2022-12-15 11:17:11
186阅读
对于虚拟机上,linux redhat上网的配置方式有三种一.用setup命令进行配置(具体技巧可查setup命令的使用)二.直接用 ifconfig eth0 ip地址进行配置三.进入系统文件下进行配置 如使用如下命令(个人的):vim /etc/sysconfig/network-scripts...
原创
2022-08-08 11:19:04
367阅读
两台主机硬件环境(不必完全一致): eth0: 对外IP eth1: 对内IP(HA 专用) 两台主机的eht1 使用双机对联线直接连接。 【二】安装前网络环境设定: ======================================================== node1: 主机名:master.qiangao.com eth0: 192
原创
2010-04-08 16:32:30
819阅读
点赞
3评论
1、环境规划1)master:node1,centos7.5,eth0:192.168.1.11,eht1:10.10.1.11,keepalive2)backup:node1,centos7.5,e92.168.1.12,eth1:10.10.1.12,keepalive2、搭建步骤1)node1,node2上都以mini方式安装CentOS 7.5 64-bit,并按照规划配...
原创
2024-07-23 09:34:17
21阅读
linux iftop查看流量的方法iftop 默认是查看eth0网卡的流量 这个是内网iftop -i eth1 检测eht1网卡的流量 eth1一般都是外网 具体可以iftop查看详细信息 <img src="https://www.vpser.net/uploads/2010/07/iftop
转载
2019-11-16 13:19:00
96阅读
2评论
【一】 安装前环境设定
==========================================================
两台主机硬件环境(不必完全一致):
CPU: Xeon 3G *2 (EM64T)
MEM: 2G
NIC: Intel 1G *2
eth0: 对外IP
eth1: 对内IP(HA专用)
两台主机的eht1使用双机对联线直接连接
转载
精选
2012-11-08 14:09:49
433阅读
1评论
实验具体操作实现目的--->虚拟机实现路由功能,实现不同网段互通功能前提:需要开启两块网卡,关闭防火墙,开启路由功能增加防火墙机制,在关闭记录网络服务状态下操作服务端:systemctlstopNetworkManager--->关闭记录网络服务状态设置网卡eht0配置文件重启网络,网卡已设置完成查找路由功能参数,开启路由功能设置网卡eht1配置文件重启网络,网卡已设置完成firewa
原创
2019-07-25 01:18:40
876阅读
点赞
【一】 安装前环境设定
==========================================================
两台主机硬件环境(不必完全一致):
CPU: Xeon 3G *2 (EM64T)
MEM: 2G
NIC: Intel 1G *2
eth0: 对外IP
eth1: 对内IP(HA专用)
两台主机的eht1使用双机对联线直接连接
转载
2008-09-26 13:33:42
10000+阅读
点赞
1评论
记一次网络配置错误:
eth1网卡之前写的是BOOTPROTO=dhcp,能dhcp的一个ip
eth0网卡是手动设置 BOOTPROTO=none, 如下
#service network restart
重启network服务后,发现能ping 通 www.baidu.com;
就执行 ifconfig eth1 down -------------------把eht1
原创
2012-08-05 23:17:34
967阅读
其实早在08年9月就做了这个了,只不过最近在学RHCE的时候发现也有bond方面的内容。
发出来大家也学习一下。
eht1这 DEVICE=eth0 ONBOOT=yes MASTER=bond0 BOOTP
原创
2009-10-08 13:33:23
1890阅读
import pandas as pd df = pd.DataFrame([ [1, 1, 2, 2], [1, 1, 1, 1], [1, 1, 1, 1], ]).T
import pandas as pd
df = pd.DataFrame([
[1, 1, 2, 2],
[1, 1, 1, 1],
[1, 1, 1, 1],
]).T
df.columns = [fr"col{i}" for i in df.columns]
print(
df.pivot_table(
index=["col0"],
原创
2024-03-22 15:25:40
217阅读
a[1:-1]a[x:-x]作用是去除前x个元素和末x个元素>>> a=(1,2,3,4,5)>>> a[1:-1](2, 3, 4)>>> a=(1,2,3,4,5)>>> a[2:-2](3,)a[:-1]a[:-n]的作用是去除
原创
2023-02-27 17:21:16
1194阅读
root@rise-rs-171:/etc/network# mii-tooleth2: negotiated 1000baseT-FD flow-control, link oketh3: autonegotiation restarted, no link 发现网卡绑定在eth2和eth3,之前正常应该是绑定在eth0和eht1 ,询问同事,原来这台机器之前维修过换了块主板,导致MA
转载
精选
2014-12-19 16:46:36
2397阅读
其实只有在学校才会使用的java编程,我都已经很久没有编写过这种代码了。别人找我做我也只能知道思路,具体怎么编写其实一点都不记得了。平时都是编写B/S模式的,和这个还真没什么关系,看了看别人的代码是怎么写的才想起来,真是脑子不好使啊!题目:用e=1+1/1!+1/2!+1/3!+ ……的公式求e的近似值,直到最后一项的绝对值小于10-6为止,并将输出结果保存在文件java_11.txt中。这里主要
原创
2014-05-28 13:26:48
2215阅读