码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
4.29--4.30 图论
1、二叉堆的操作 (1)取出元素 (2)插入元素 (3)删除元素 //手写大根堆维护 #include<bits/stdc++.h> using namespace std; int heap[1000]; int up(int x) { if(heap[x]<=heap[x/2]) return ...
分类:其他好文   时间:2017-04-30 22:54:51    阅读次数:241
CSS 三角形绘制方法
今天给大家带来 CSS 三角形绘制方法 复制代码 代码如下: #triangle-up { width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-b ...
分类:Web程序   时间:2017-04-30 16:16:48    阅读次数:169
【转】unity 移动物体到指定位置的四种方法
http://blog.csdn.net/lcy0221/article/details/44040739 方法1:使用Vector3.MoveTowards [csharp] view plain copy </pre><pre name="code" class="csharp">void Up ...
分类:移动开发   时间:2017-04-29 23:38:35    阅读次数:2092
[USACO08NOV]奶牛混合起来Mixed Up Cows
题目描述 Each of Farmer John's N (4 <= N <= 16) cows has a unique serial number S_i (1 <= S_i <= 25,000). The cows are so proud of it that each one now we ...
分类:其他好文   时间:2017-04-29 23:24:58    阅读次数:207
hdu--1258--Sum It Up(Map水过)
Sum It Up Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6581 Accepted Submission(s): 3451 Probl ...
分类:其他好文   时间:2017-04-29 22:12:17    阅读次数:294
HTML border CSS输出三角形
有以下一段html代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> .triangle_up { height:0px; width:0px; bord ...
分类:Web程序   时间:2017-04-29 19:58:51    阅读次数:273
(016)给定一个有序数组(递增),敲代码构建一棵具有最小高度的二叉树(keep it up)
给定一个有序数组(递增),敲代码构建一棵具有最小高度的二叉树。 因为数组是递增有序的。每次都在中间创建结点,类似二分查找的方法来间最小树。 struct TreeNode { int data; TreeNode* leftChild; TreeNode* rightChild; }; void n ...
分类:编程语言   时间:2017-04-29 18:56:09    阅读次数:253
web api
WebAPI的内容部分直接转自官方文档,英语水平有限,不做翻译, 发布网站在本文的后半部分 HTTP is not just for serving up web pages. It is also a powerful platform for building APIs that expose ...
分类:Windows程序   时间:2017-04-29 09:48:25    阅读次数:357
ARM32 Linux kernel virtual address space
http://thinkiii.blogspot.jp/2014/02/arm32-linux-kernel-virtual-address-space.html The 32-bit ARM CPU can address up to 2^32 = 4GB address*. It's not b ...
分类:系统相关   时间:2017-04-28 23:50:32    阅读次数:628
leetcode - Remove Duplicates from Sorted Array II
Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array A = [1,1,1,2,2,3], Your function shou ...
分类:其他好文   时间:2017-04-28 13:53:20    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!