码迷,mamicode.com
首页 >  
搜索关键字:complete    ( 2283个结果
cdoj 04 Complete Building the Houses 暴力
Complete Building the HousesTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/3DescriptionBear has a large, empty groun...
分类:其他好文   时间:2015-06-01 22:04:22    阅读次数:256
document.onreadystatechange()来判断页面加载完
document.onreadystatechange = subSomething;//当页面加载状态改变的时候执行这个方法.function subSomething(){if(document.readyState == "complete"){ //当页面加载状态为完全结束时进入 //你要做...
分类:其他好文   时间:2015-06-01 11:13:00    阅读次数:140
【Best Time to Buy and Sell Stock】cpp
题目:Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction ...
分类:其他好文   时间:2015-05-30 09:14:38    阅读次数:135
jQuery Easing 使用方法及其图解(转载)
jQueryEasing使用方法及其图解从jQuery API 文档中可以知道,jQuery自定义动画的函数.animate( properties [, duration] [, easing] [, complete] )有四个参数:properties:一组包含作为动画属性和终值的样式属性和及...
分类:Web程序   时间:2015-05-28 15:39:20    阅读次数:136
Java for LeetCode 121 Best Time to Buy and Sell Stock
Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction ...
分类:编程语言   时间:2015-05-25 18:20:31    阅读次数:145
PAT Complete Binary Search Tree
Complete Binary Search TreeA Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a...
分类:其他好文   时间:2015-05-25 16:27:30    阅读次数:106
如何判断一棵二叉树是完全二叉树
完全二叉树(Complete Binary Tree): 设二叉树的深度为h,除第 h 层外,其它各层 (1~h-1) 的结点数都达到最大个数,第h层所有的结点都连续集中在最左边,这就是完全二叉树。 解析: 任意的一个二叉树,都可以补成一个满二叉树。这样中间就会有很多空洞。在广度优先遍历的时候,如果是满二叉树,或者完全二叉树,这些空洞是在广度优先的遍历的末尾,所以,但我们遍历到空洞的...
分类:其他好文   时间:2015-05-25 09:56:19    阅读次数:127
[Lintcode] Best Time to Buy and Sell Stock IV
问题描述Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete at most k transactions.Example Given price...
分类:其他好文   时间:2015-05-23 11:30:26    阅读次数:124
C++异常处理
c++ 异常处理译自c++ complete refrence 3rd Chapter 38标准c++库定义了两个与异常相关的库,和。异常通常用来报告错误。定义了与异常处理相关的类,声明和函数。class exception {public:exception() throw();exception...
分类:编程语言   时间:2015-05-21 12:11:29    阅读次数:142
自定义 URL Scheme 完全指南
本文由Migrant翻译自The Complete Tutorial on iOS/iPhone Custom URL Schemes,转载请注明出处。注意:自从自定义 URL 的引入,本文始终是我博客中阅读量最大的文章。虽然大多数都相同,但仍然有一些细微差别的变化。本文是原帖的重写版,更新为最新的...
分类:Web程序   时间:2015-05-20 17:48:18    阅读次数:127
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!