学会一种语言最好的办法就是拿它写一道算法题{ 鉴于sort和stl实现不了,就选取了莫比乌斯反演的题来实现 golang还是挺臭屁的,但是大的上面难度还是很低的,go也熟悉了不少 package main import "fmt" func Min(x, y int) int { if x < y ...
分类:
编程语言 时间:
2021-01-21 10:45:47
阅读次数:
0
###示例.1 import random from random import shuffle x = [[i] for i in range(10)] shuffle(x) print(x) 运行结果: [[1], [2], [5], [0], [7], [9], [3], [8], [4], ...
分类:
编程语言 时间:
2021-01-21 10:36:13
阅读次数:
0
出现此问题是端口被占用了,只需要关闭正在使用的端口就行 解决方法:1.在服务器中更改port端口号,改为不冲突,没有被占用的端口。 2.找出被占用的端口,结束被占用的端口: 解决结束被占用的端口的方法:1.输入命令查看被占用的端口的进程: netstat -aon|findstr 80 (80为要查 ...
分类:
Web程序 时间:
2021-01-20 12:16:34
阅读次数:
0
容器生命周期管理 run start/stop/restart kill rm pause/unpause create exec 容器操作 ps inspect top attach events logs wait export port 容器rootfs命令 commit cp diff 镜像 ...
分类:
其他好文 时间:
2021-01-20 11:47:15
阅读次数:
0
#运算符 ###算术运算符 package main import "fmt" func main() { a := 6 b := 2 c := a + b //加 d := a - b //减 e := a * b //乘 f := a / b //除 fmt.Println(c, d, e, f ...
分类:
其他好文 时间:
2021-01-19 12:01:34
阅读次数:
0
方法一: Set NoCount On if exists(select * from tempdb..sysobjects where id=object_id('tempdb..##tempEANReport'))Begin drop table ##tempEANReportEndCreate ...
分类:
数据库 时间:
2021-01-19 12:01:00
阅读次数:
0
1. 配置双主: 双机名 win89.inno.com win88.inno.com 准备账号 SET SQL_LOG_BIN=0; set password for 'root'@'localhost'='123456'; grant all privileges on *.* to root@' ...
分类:
数据库 时间:
2021-01-18 11:43:38
阅读次数:
0
配置802.1x在交换机的端口验证设置 https://www.cisco.com/c/zh_cn/support/docs/smb/switches/cisco-250-series-smart-switches/smb3202-configure-8021x-port-authenticatio ...
分类:
其他好文 时间:
2021-01-18 11:35:37
阅读次数:
0
# 先定义dataframe各列的数据类型 from pyspark.sql.types import *schema = StructType([ StructField("a", NullType(), True), StructField("b", AtomicType(), True), S ...
分类:
其他好文 时间:
2021-01-18 11:29:36
阅读次数:
0
package test;import java.sql.*;public class retrieve { public static void main(String[] args) { try { Class.forName("com.mysql.jdbc.Driver"); } catch ...
分类:
数据库 时间:
2021-01-18 11:27:02
阅读次数:
0