- 博客(27)
- 资源 (1)
- 收藏
- 关注
原创 【Oracle学习】之 体系结构
链接:文件体系结构 Oracle数据库:①数据库(DB),存放在磁盘上;②数据库管理系统(DBMS)对磁盘上的数据库进行管理;分别对应着数据库的存储结构和软件结构。 Oracle数据库的存储结构(Storage Structure):分为物理存储结构和逻辑存储结构,分别描述了在操作系统中和数据库系统内部数据的组织与管理方式。其中,物理存储结构表现为操作系统中一系列文件,逻辑存储结构是对物理存储结
2017-03-30 17:32:32 598
原创 【Oracle学习】之 用户
一、用户 sys (超级管理员,权限最大) system (管理员用户,权限仅次于sys) sysman (用于操作企业管理器) 注:以上三个默认密码:你安装oracle设置的密码。 scott (默认密码 : tiger)①使用system用户登录[username/password][@server][as sysdba|sysoper]@server: 是服务
2017-03-29 16:59:42 355
原创 ORA-12560:TNS:协议适配器错误
之前创建过新的数据库,后又删除,然后今天一等就这德行了 查了下是注册表出了问题。 Question: 什么是注册表? Answer: 注册表包含了Windows操作系统中所有数据文件的信息内容,(包含了五个方面的信息:1.PC的全部硬件,2.软件设置,3.动态状态,4.当前配置,5.用户特定设置等内容).操作系统就是通过注册表对PC进行统一管理的.
2017-03-29 16:52:29 476
原创 23种设计模式之建造者模式
参考资料:设计模式之禅建造者模式包含如下角色: - Builder:抽象建造者 - ConcreteBuilder:具体建造者 - Director:指挥者 - Product:产品角色 通用类图较详细类图
2017-03-29 15:49:36 332
原创 【Oracle学习】之 文件体系结构
Oracle最佳灵活体系结构定义:OFA(Optimal Flexible Architecture),Oracle 11g数据库服务器软件、数据库的数据文件、目录的命名及存储位置遵循一定的规则。作用:利用OFA体系结构,可以将Oracle系统的管理文件、数据文件、跟踪文件等完全分离,简化数据库系统的管理工作。如上图所示,数据库服务器安装完后的树形目录结构。有7个子目录。①admin:—-以数据库为
2017-03-28 14:44:46 647
原创 【Oracle学习】之 数据库创建
①打开Database Configuration Assistant(数据库配置助手)②创建数据库 ③创建完毕后,与Oracle有关的服务器的服务中,已经启动了新数据库的例程和OEM控制台的服务。Tips:Oracle 11g有关的服务器均是以Oracle为前缀的。OracleServiceTest表示数据库例程;OracleDBConsoletest表示
2017-03-26 21:24:27 659
原创 算法提高 快乐司机
/** 2017.3.25 Donald*//** 思路:不用dp, 直接按其价值比,从高到底堆积。*/#include<bits/stdc++.h>using namespace std;#define MAXN 10001int N; //物品的数目int W; //荷载重量//pair.second .first : weight, .second
2017-03-26 16:29:35 378
原创 【Java学习】之 线程(Thread)
线程知识点:http://blog.csdn.net/fanfan4569/article/details/65937555一、Java中创建线程:① extend Thread类,并重写run()② implements Runnable接口,实现run()二、调用start()创建新线程① 在JVM中分配内存并初始化新的线程② 调用run()函数,使线程适合在JVM中运行(注意,从不直接调用r
2017-03-25 20:53:03 495
原创 【Java学习】之 Process
进程知识点:http://blog.csdn.net/fanfan4569/article/details/65937555 参考资料:http://lavasoft.blog.51cto.com/62575/15662/ https://segmentfault.com/a/1190000000372192进程相关类:Proces,ProcessBuilder,Runtime实例
2017-03-25 17:02:03 799
原创 【os学习】之 进程(Process)与线程(Thread)
一、进程(Process) ①定义:进程是进程实体的运行过程,是系统进行资源分配和调度的一个独立单位。 ② 进程控制块:配置一个专门的数据结构——进程控制块(Process Control Block,PCB),系统利用PCB来描述进程的基本情况和运行状态,进而控制和管理进程。(常驻内存) ③进程映像:由程序段、相关数据段和PCB三部分组成。(进程实体) ④所谓进程:所谓创建进程,实际上是创
2017-03-25 16:21:15 1502
原创 算法提高 勾股数
算法提高 勾股数 时间限制:1.0s 内存限制:256.0MB 提交此题 问题描述 勾股数是一组三个自然数,a < b < c,以这三个数为三角形的三条边能够形成一个直角三角形 输出所有a + b + c <= 1000的勾股数 a小的先输出;a相同的,b小的先输出。 输出格式 每行为一组勾股数,用空格隔开 样例输出 例如,结果的前三行应当是 3 4 5
2017-03-24 20:48:29 1354
原创 【Java学习】之(Write Once,Run Anywhere)
参考资料: 深入理解Java虚拟机 http://blog.csdn.net/cutesource/article/details/5904542 “一次编写,到处运行”(Write once, run anywhere、WORA,有时也作“write once, run everywhere”、WORE),是太阳计算机系统公司用来展示Java程序设计语言的跨平台特性的口号。 理想中
2017-03-24 11:38:26 6088
原创 仿写 Lite Struts
//使用dom4j.jar0. 读取配置文件struts.xml1. 根据actionName找到相对应的class , 例如LoginAction, 通过反射实例化(创建对象)据parameters中的数据,调用对象的setter方法, 例如parameters中的数据是 ("name"="test" , "password"="1234") , 那就应该调用 setNam
2017-03-18 20:32:09 356
原创 算法提高 12-2扑克排序
问题描述 扑克牌排序:构造扑克牌数组,对扑克牌进行排序。排序原则如下:数字从小到大是2-10、J、Q、K和A,花色从小到大是方块(diamond)、梅花(club)、红桃(heart)、黑桃(spade)。两张牌比较时先看数字,数字相同时看花色。要求对输入的扑克牌进行从小到大排序。 输入五张牌(表示黑桃2、红桃3、黑桃3、方块A和梅花J): 2 s 3 h 3 s A d J c
2017-03-17 21:15:43 845
原创 并查集(含代码)
并查集是一种用来管理元素分组情况的数据结构 作用: 1。查询云元素a和元素b是否属于同一组 2。合并元素a和元素b所在的组。数组par表示的是父亲的编号,par[x] = x时,x是所在的树的根。使用rank[MAXN]是使其路径压缩。int par[MAXN]; //父亲int rank[MAXN]; //树的高度//初始化n个元素void init(int n)
2017-03-13 11:27:04 380
原创 1012. The Best Rank (25)
To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mathematics (Calculus or Linear Algebra), and E - Engl
2017-03-10 23:22:50 246
原创 【Oracle学习】之 配置监听器 和 TNSName
今天被oracle老师扣平时分了,忧伤(╯﹏╰),还是好好学吧。 实际上,在安装完oracle11g时候,就已经配置监听器了。 不信?cmd 中 输入services.msc, 打开服务会看到OracleOraDb11g_home1TNSListener。 下面是默认配置文件信息如上图,配置和移植工具->Net Manager。 在该对话框中可以进行数据库服务器的网络配置,包括查看概
2017-03-08 17:51:28 10499
原创 1010. Radix (25)
参考http://www.cnblogs.com/549294286/p/3571604.html Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is “yes”, if 6 is a decimal number and 110
2017-03-08 16:24:58 278
原创 1011. World Cup Betting (20)
With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing battles for the World Cup trophy in South Africa. Sim
2017-03-08 16:15:22 282
原创 【DP学习】之 01背包
参考图书《挑战程序竞赛》题目 ->①普通搜索dfs 最容易想到,但数一大,极容易超时。复杂度(o(2^N)) 有些被搜索了两次#include<cstdio>#include<algorithm>using namespace std;#define MAX_N 101int n, W; //n: 物品数, W: 总重量int w[MAX_N] = {2, 1, 3, 2
2017-03-06 17:26:57 320
原创 1009. Product of Polynomials (25)
This time, you are supposed to find A*B where A and B are two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and each line contains the information
2017-03-06 15:26:35 249
原创 【蓝桥杯】算法提高 夺宝奇兵
/** 题意: 题意不明, 实则是,上一条路能选他对应下一条和他下一条的右边那一条。 思路: 01背包相似。*/#include<cstdio>#include<algorithm>using namespace std;#define MAXN 101int N;int mountain[MAXN][MAXN];int dp[MAXN + 1]
2017-03-05 21:00:27 1686
原创 1008. Elevator (20)
The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified order. It costs 6 seco
2017-03-05 20:49:21 232
原创 1006. Sign In and Sign Out (25)
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in’s and out’s, you
2017-03-03 10:39:42 329
原创 1005. Spell It Right (20)
Spell It Right (20)Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English.Input Specification:Each input file contains one
2017-03-02 13:15:10 320
原创 【Oracle学习】之 在sqlplus设置格式 和 case...when 和 decode
一、在sqlplus设置格式 (1)指定行的长度SQLplus输出行的默认长度为80//查看输出行的长度show linesize;set linesize 100; (2)指定分页的尺寸//查看分页尺寸show pagesize;//重设分页尺寸set pagesize 20其他操作//输出暂停set pause on;//这时按下enter 键,sqlplus自动显示下一屏//撤销
2017-03-01 16:10:40 1761
原创 1004. Counting Leaves (30)
参考http://www.cnblogs.com/wwblog/p/3704428.htmlA family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.InputEach input file contains one
2017-03-01 14:54:25 274
UML基础教程
2016-11-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人