一个计算迟到早退违纪扣分的东西 题意简单明了 情况有点多,分各种情况讨论,有点麻烦但是难度不大 一次性写的所以代码很乱,就当留给自己看吧 上代码: #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #i ...
分类:
其他好文 时间:
2019-11-29 10:41:44
阅读次数:
68
1. sync.Map 1.1. map并发不安全 go1.6以后map有了并发的安全检查,所以如果在并发环境中读写map就会报错 1.2 安全map 并发环境下面使用安全的map 1.2.1 自定义结构体 注意:我们定义使用什么类型的map,那么就内置什么类型的map 1.2.2 sync.Map ...
分类:
其他好文 时间:
2019-11-27 12:27:17
阅读次数:
55
Pairs Forming LCM (LightOJ 1236)【简单数论】【质因数分解】【算术基本定理】(未完成) 标签: 入门讲座题解 数论 题目描述 Find the result of the following code: ...
分类:
其他好文 时间:
2019-11-27 12:21:00
阅读次数:
76
1、 SSH是什么 SSH,即远程连接工具 2、 SSH组成及其工作机制 ssh服务端由2部分组成: openssh(提供ssh服务)和openssl(提供加密的程序) ssh的客户端可以用 XSHELL,Securecrt, Mobaxterm等工具进行连接。 服务器启动的时候自己产生一个密钥(7 ...
分类:
其他好文 时间:
2019-11-26 16:11:00
阅读次数:
62
Generating a new SSH key pair To generate a new SSH key pair, use the following command:Git Bash on Windows / GNU/Linux / macOS: The next step is to c ...
分类:
其他好文 时间:
2019-11-26 13:18:23
阅读次数:
72
Homepage/演示网站:https://pair code.github.io/facets/ Pypi:https://pypi.org/project/facets overview/ Github:https://github.com/PAIR code/facets 1. 什么是Face ...
分类:
其他好文 时间:
2019-11-25 23:22:25
阅读次数:
218
io.lettuce.core.RedisCommandExecutionException: ERR invalid longitude,latitude pair 111.110000,111.230000 at io.lettuce.core.ExceptionFactory.createEx ...
分类:
其他好文 时间:
2019-11-25 11:25:19
阅读次数:
527
1.准备证书 2.1 springboot 1.x配置 2.2 springboot 2.x配置 1.准备证书: keytool -genkeypair -alias tomcat -keyalg RSA -keystore C:\tomcat.key #注意要用.key结尾证书文件 更多keyto ...
分类:
编程语言 时间:
2019-11-24 12:07:43
阅读次数:
74
The "travelling salesman problem" asks the following question: "Given a list of cities and the distances between each pair of cities, what is the shor ...
分类:
其他好文 时间:
2019-11-23 23:35:34
阅读次数:
72
很好的一篇文章,不愧是reid大组中山大学Weishi-Zheng老师的工作 文章的基本出发点很有意思:用source domain的feature做作为参考,衡量target domain images是否相似,从而构成正负样本进行contrasive learning和domain adapti ...
分类:
其他好文 时间:
2019-11-23 21:57:49
阅读次数:
197