gavanwanggw

导航

上一页 1 ··· 110 111 112 113 114 115 116 117 118 ··· 165 下一页

2017年5月19日 #

关于栈及其应用演示样例

摘要: 转载请注明出处 http://blog.csdn.net/pony_maggie/article/details/30802249 作者:小马 作为一种经常使用的数据结构, 了解栈对于算法的学习是很必要的。栈有先进后出的特点,栈底指向数据表中的第一个元素。栈顶指向最后一个元素的下一个位置。例如以下图 阅读全文

posted @ 2017-05-19 20:20 gavanwanggw 阅读(112) 评论(0) 推荐(0) 编辑

leetcode - Interleaving String

摘要: Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example, Given: s1 = "aabcc", s2 = "dbbca", When s3 = "aadbbcbcac", 阅读全文

posted @ 2017-05-19 19:46 gavanwanggw 阅读(126) 评论(0) 推荐(0) 编辑

URAL 1196. History Exam (二分)

摘要: 1196. History Exam Time limit: 1.5 second Memory limit: 64 MB Professor of history decided to simplify the examination process. At the exam, every stu 阅读全文

posted @ 2017-05-19 18:47 gavanwanggw 阅读(243) 评论(0) 推荐(0) 编辑

可重入锁的获取和释放须要注意的一点儿事

摘要: 什么是可重入锁,不可重入锁呢?"重入"字面意思已经非常明显了,就是能够又一次进入。可重入锁,就是说一个线程在 获取某个锁后,还能够继续获取该锁,即同意一个线程多次获取同一个锁。比方synchronized内置锁就是可重入的 ,假设A类有2个synchornized方法method1和method2, 阅读全文

posted @ 2017-05-19 17:54 gavanwanggw 阅读(279) 评论(0) 推荐(0) 编辑

HDU 5387 Clock (MUT#8 模拟)

摘要: 【题目链接】:click here~~ 【题目大意】给定一个时间点。求时针和分针夹角,时针和秒针夹角,分针和秒针夹角 模拟题,注意细节 代码: #include<bits/stdc++.h> using namespace std; inline int read(){ int c=0,f=1; c 阅读全文

posted @ 2017-05-19 16:59 gavanwanggw 阅读(146) 评论(0) 推荐(0) 编辑

Android项目之HomeHealth基础学习2:Service

摘要: 一、 Service简单介绍 Service是android 系统中的四大组件之中的一个(Activity、Service、BroadcastReceiver、ContentProvider),它跟Activity的级别差点儿相同。但不能自己执行仅仅能后台执行,而且能够和其它组件进行交互。servi 阅读全文

posted @ 2017-05-19 15:35 gavanwanggw 阅读(121) 评论(0) 推荐(0) 编辑

LeetCode OJ 之 Valid Anagram

摘要: 题目: Given two strings s and t, write a function to determine if t is an anagram of s. For example, s = "anagram", t = "nagaram", return true. s = "rat 阅读全文

posted @ 2017-05-19 14:09 gavanwanggw 阅读(104) 评论(0) 推荐(0) 编辑

Oracle 堵塞(blocking blocked)

摘要: 堵塞是DBA常常碰到的情形,尤其是不良的应用程序设计的堵塞将导致性能严重下降直至数据库崩溃。对DBA而言,有必要知道怎样定位到当前系统有哪些堵塞,究竟谁是堵塞者,谁是被堵塞者。本文对此给出了描写叙述并做了相关演示。 1、堵塞及其类型a、什么是堵塞 一个会话持有某个资源的锁,而还有一个会话在请求这个资 阅读全文

posted @ 2017-05-19 14:04 gavanwanggw 阅读(383) 评论(0) 推荐(0) 编辑

2014/7/24

摘要: 初学存储过程 DELIMITER // 定义写存储过程中的结束符为 // 创建存储过程1: create procedure proce_userinfo(in name varchar(10) ,int pwd varchar(10),out flag int) begin select powe 阅读全文

posted @ 2017-05-19 12:30 gavanwanggw 阅读(94) 评论(0) 推荐(0) 编辑

POJ 3414 Pots BFS

摘要: Pots Description You are given two pots, having the volume of A and B liters respectively. The following operations can be performed: 1.FILL(i) fill t 阅读全文

posted @ 2017-05-19 11:21 gavanwanggw 阅读(163) 评论(0) 推荐(0) 编辑

上一页 1 ··· 110 111 112 113 114 115 116 117 118 ··· 165 下一页