good morning. Since we have been through the main idea, now i am going to talk about the aesthetics behind the story. well Actually i am not sure if i ...
分类:
其他好文 时间:
2020-05-15 13:40:40
阅读次数:
91
1 package test_12_2; 2 3 public interface Game { 4 5 boolean move(); 6 } 1 package test_12_2; 2 3 public interface GameFactory { 4 5 Game getGame(); 6 ...
分类:
编程语言 时间:
2020-05-15 00:34:12
阅读次数:
74
看了这篇文章 https://arjunsreedharan.org/post/148675821737/memory-allocators-101-write-a-simple-memory 主要内容就是介绍了实现简化版malloc free的过程。之前玩过pwn,代码理解起来还是挺简单的 #in ...
分类:
其他好文 时间:
2020-05-14 21:05:40
阅读次数:
98
变电站里NTP校时器(gps网络时间服务器)产品的应用 变电站里NTP校时器(gps网络时间服务器)产品的应用 更多资料可添加京准电子科技官微——ahjzsz 一、电力系统时间同步基本概况 随着对IEC 61850标准研究的不断深入,国内外学者提出基于IEC61850通信标准体系建设数字化变电站的发 ...
分类:
其他好文 时间:
2020-05-14 12:55:09
阅读次数:
112
1、Simple Dynamic String:简单动态字符串,Sds 是Redis底层所使用的字符串表示,sds在Redis中的主要作用: 实现字符串对象 在Redis程序内部用作char*类型的替代品 char*类型功能单一,抽象层次低,不能高效地支持一些Redis常用的操作(比如追加操作和长度 ...
分类:
其他好文 时间:
2020-05-14 01:42:22
阅读次数:
61
CF1349B Orac and Medians 题目描述 有$n$个数,$a_1,a_2,...,a_n$。 该题中$m$个数的中位数的定义是:将这$m$个数排序后,排在第$\lfloor \frac{m+1}{2}\rfloor$的数。 可以进行的操作是:选一个区间$[l,r]$,将$a_l,a ...
分类:
其他好文 时间:
2020-05-13 23:43:33
阅读次数:
123
第一个爬虫与测试 (1)完善球赛程序 代码: 1 import unittest 2 from game import Game 3 class GameTest(unittest.TestCase): 4 def test_gameOver(self): 5 self = Game('15','1 ...
分类:
其他好文 时间:
2020-05-13 20:01:39
阅读次数:
81
import random from math import *def printIntro():#打印程序的介绍性信息print("模拟乒乓球竞赛")print("学号23")print("程序运行需要A和B的能力值(以0到1之间的小数表示)") def getInputs():#获得用户输入的参 ...
分类:
其他好文 时间:
2020-05-13 17:11:31
阅读次数:
81
一、pip国内源镜像: 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学:https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣(douban):http://pypi.douban.com/simple/ 清华大学: ...
分类:
编程语言 时间:
2020-05-13 12:06:55
阅读次数:
123
Do the Real Thing May, 2020 | Comments | Share Success largely boils down to a simple distinction. It’s glaringly obvious once you see it, but also ea ...
分类:
其他好文 时间:
2020-05-13 09:41:28
阅读次数:
83