本次得分为:14.00/14.00, 本次测试的提交时间为:2020-03-08, 如果你认为本次测试成绩不理想,你可以选择再做一次。 1 单选(1分) 下面程序片段哪个没错? 得分/总分 A. int n = 4; int & r = n * 5; B. int n = 6; const int ...
分类:
编程语言 时间:
2020-03-08 14:00:43
阅读次数:
224
随便写的,有些错误。 #include<iostream> #include<algorithm> #include<vector> #define inf 0x7fffff using namespace std; vector<int>cur[50000],dist[50000]; int n, ...
分类:
其他好文 时间:
2020-03-07 19:04:33
阅读次数:
59
根据关键字搜软件包 apt cache search package_name 根据关键字jo 来搜索软件包名 apt cache search "jo " 根据命令搜软件包 默认没有安装该工具,需手动安装 apt get install apt file 语法: apt file search [ ...
分类:
系统相关 时间:
2020-03-07 09:51:06
阅读次数:
100
1. ARP协议简介 ARP(Address Resolution Protocol),地址解析协议。ARP协议处于网络层,其主要功能就是通过目标设备的 IP 地址,查询目标设备的 MAC 地址,从而进行网络通信。 网络层中,源主机和目标主机依赖于IP地址进行通信。而链路层又有自己的寻址寻址机制(如 ...
分类:
其他好文 时间:
2020-03-06 21:58:50
阅读次数:
97
1 概述 1.1 产生背景 随着Internet的发展,人们对网络可靠性的要求越来越高。特别是对于终端用户来说,能够实时与网络其他部分保持联系是非常重要的。一般来说,主机通过设置默认网关来与外部网络联系,如图1所示: 图1 常用局域网组网方案 主机将发送给外部网络的报文发送给网关,由网关传递给外部网 ...
分类:
其他好文 时间:
2020-03-06 17:24:34
阅读次数:
60
c和c++语言混合编译时候,需要修改c语言头文件 #ifdef __cplusplus extern "C" { #endif /******/ #ifdef __cplusplus } #endif ...
分类:
编程语言 时间:
2020-03-06 15:23:05
阅读次数:
75
osi五层协议 1.应用层 要发送的数据 http/https协议 2.传输层 端口 tcp/udp协议 四层路由器/四层交换机 3.网络层 ip协议 路由器/三层交换价 4.数据链路层 mac地址 arp协议 网卡/交换机 5.物理层 tcp特点:面向链接 可靠 速度慢 长度不受限 全双工 流式传 ...
分类:
编程语言 时间:
2020-03-06 12:49:43
阅读次数:
80
conda config --remove-key channels重新回默认通道。 ...
分类:
其他好文 时间:
2020-03-05 22:25:11
阅读次数:
76
jvm: maven添加dependence <!-- https://mvnrepository.com/artifact/io.micrometer/micrometer-registry-prometheus --> <dependency> <groupId>io.micrometer</g ...
分类:
数据库 时间:
2020-03-05 22:09:12
阅读次数:
219
Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, ...
分类:
其他好文 时间:
2020-03-05 13:49:20
阅读次数:
86