A. Shifting Stacks time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You have n stacks of b ...
分类:
其他好文 时间:
2021-02-20 11:52:20
阅读次数:
0
first question: how to show a class children class : move mousrmark to class name , Ctrl + H how to show a class children class in diagram : ctrl + al ...
分类:
其他好文 时间:
2021-02-17 14:33:03
阅读次数:
0
1、创建新的表空间 create undo tablespace undo_new datafile '/u01/oracle/oradata/yscsfhx/newundotbs01.dbf' size 5m; View Code 2、切换到新的Undo表空间上 alter system set ...
分类:
其他好文 时间:
2021-02-16 12:25:14
阅读次数:
0
1. 入口配置一个或者多个: entry:{ // 单个 js 打包 'js/a':'./htmlDist/cn/js/A.js' , // 单个 js 'js/b':[ // 多个 js 合并 './htmlDist/cn/js/B.js' , './htmlDist/cn/js/c.js' , ...
分类:
Web程序 时间:
2021-02-10 12:56:26
阅读次数:
0
参考:http://www.voidcn.com/article/p-mckvczfj-ov.html 解决 Oracle 数据库文件自动扩展到 32G 后报错 ORA-01563 的问题 create or replace procedure auto_add_datafile is ALL_fi ...
分类:
数据库 时间:
2021-02-05 10:42:34
阅读次数:
0
Semaphore 美[?sem?f??r] 信号量Semaphore 可以用于做流量控制,特别是公用资源有限的应用场景,比如数据库连接。Semaphore的构造方法 Semaphore(int permits)接受一个整型的数字,表示可用的许可证数量。Semaphore(10)表示允许10个线程获 ...
分类:
编程语言 时间:
2021-02-01 12:46:58
阅读次数:
0
LeetCode26 删除排序数组中的重复项 # 删除重复元素,解题方法:双指针 # 1 定义2个指针,慢指针i,从0开始;快指针j,从1开始 # 2 移动指针,如果当前nums[i] = nums[j],则j加1,i不动;如果不相等,则i,j均加1 1 class Solution: 2 def ...
分类:
编程语言 时间:
2021-02-01 12:25:27
阅读次数:
0
一.介绍 观察者模式(Observer Pattern)。属于行为型模式。它定义了一种一对多的依赖关系,让多个观察者对象同时监听某一个主题对象。这个主题对象在状态发生变化时,会通知所有观察者对象,使它们能够自动更新自己。 二.实现 举个例子,我们开车时,当踩油门加速的时候,显示器上会显示车速,而超速 ...
https://blog.csdn.net/u011728105/article/details/46594963 循环list中的所有元素然后删除重复 public static List removeDuplicate(List list) { for ( int i = 0 ; i < lis ...
分类:
编程语言 时间:
2021-01-27 13:09:16
阅读次数:
0
##从列表中找出某个值第一个匹配的索引值 list18 = [1,2,3,4,5, 3,4,5,6] index18 = list18.index(3) ##圈定范围 index19 = list18.index(3, 3, 7) print(index18, index19) ##列表中元素个数 ...
分类:
编程语言 时间:
2021-01-27 12:52:05
阅读次数:
0