public static copyThisOfSonClass(item: ItemInfo): ItemInfo { let construClassName = egret.getQualifiedClassName(item); let obj = new window[construCla ...
分类:
其他好文 时间:
2020-03-22 19:38:34
阅读次数:
137
思科交换机分为两种系统,分别是IOS和CatOS,下面介绍IOS版本的操作, Switch#write erase Erasing the nvram filesystem will remove all files! Continue? [confirm]y[OK] Erase of nvram: ...
分类:
其他好文 时间:
2020-03-22 01:31:10
阅读次数:
187
https://leetcode cn.com/problems/water and jug problem/ BFS+hash 原贴讲解:https://leetcode cn.com/problems/water and jug problem/solution/tu jie bfs c jie ...
分类:
其他好文 时间:
2020-03-21 21:53:01
阅读次数:
77
已做ABEHI,待补CDFGJ A01背包,B和I属于同种背包问题 E模拟贪心吧 H 状压dp ...
分类:
其他好文 时间:
2020-03-21 18:28:37
阅读次数:
68
Bochs就像一台真机一样,处理器在加电之后,要开始取指令并执行指令。 如图在左侧显示了该指令所在的物理内存地址 0x0000fffffff0 。 但为什么是 0x0000fffffff0 ?因为和8086不同,现代处理器在加电时,段寄存器CS的内容为,0xF000,指令指针寄存器IP的内容为0xF ...
分类:
其他好文 时间:
2020-03-21 18:15:31
阅读次数:
96
具体要求为: 使用一个二维数组记录客车售票系统中的所有座位号,并在每个座位号上都显示有票,然后用户输入一个坐标位置,按Enter键,即可将该座位号显示为已售。 首先我定义的输入格式为:1,2 个人认为主要知识点伪代码如下 1.字符串分割 char[] separator = { ',' }; spl ...
分类:
编程语言 时间:
2020-03-21 17:55:00
阅读次数:
81
n = 0 while n < 100: n = n + 1 if n % 2 == 0: continue print(n) 首先N等于0 循环100以内的数 假如N除以2的余数等于0,(执行continue)就结束本次循环,进行下次循环 不等于0的N就打印出来 ...
分类:
编程语言 时间:
2020-03-21 14:41:13
阅读次数:
157
自己记录下 使用脚本定时每几分钟执行一次任务: #!/bin/bash #打印当前地址 echo $(dirname $0) #获取父级路径 path=$(dirname $(dirname $PWD)) echo ${path} #执行的任务 program=aa.app step=5 #获取当前 ...
分类:
系统相关 时间:
2020-03-21 09:58:04
阅读次数:
185
>第一种不会改变原数组 var ary = [5, 5, 9, 3, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 4, 7, 9]; for(var i=0 , newary=[] , a=""; i<ary.length; i++){ if(newary.i ...
分类:
编程语言 时间:
2020-03-20 12:26:21
阅读次数:
48
远程控制服务端: 1 from socket import * 2 import subprocess 3 4 tcp_server = socket(AF_INET, SOCK_STREAM) 5 tcp_server.bind(('127.0.0.1', 8080)) 6 tcp_server. ...
分类:
其他好文 时间:
2020-03-19 21:47:01
阅读次数:
108