码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
Splay模板
改自学长的代码 1 #define mx 100010 2 int f[mx], c[mx][2], s[mx]; 3 inline void up (int x) 4 { 5 s[x] = s[c[x][0]] + s[c[x][1]] + 1; 6 } 7 inline int rota...
分类:其他好文   时间:2015-03-04 22:23:02    阅读次数:160
一:Html基本结构
1:什么是Html(HTML 概念)?Html是 HyperText mark-up Language 的缩写,意思是:超文本标记语言2.HTML的发展史?1991年:出现Html1.0(不存在)和Html2.0里面包含了20多个用来标记网页的Html标签。(IETF推出Html2.0版本)1999...
分类:Web程序   时间:2015-03-04 20:42:04    阅读次数:183
[LeetCode] N-Queens II
Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.思路:和 N-queens 一样,不过只统计个数而言,...
分类:其他好文   时间:2015-03-04 18:30:44    阅读次数:158
git 错误预览
RPC failed; result=22, HTTP code = 411 error:?RPC?failed;?result=22,?HTTP?code?=?411 fatal:?The?remote?end?hung?up?unexpectedly fatal:?The?remote?end?hung?up?unexpectedly Everyt...
分类:其他好文   时间:2015-03-04 17:11:04    阅读次数:128
【LeetCode从零单排】No112 Path Sum
题目Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.For example:Given the below binary tree and sum = ...
分类:其他好文   时间:2015-03-04 16:53:52    阅读次数:108
Bookshelf 2
Farmer John recently bought another bookshelf for the cow library, but the shelf is getting filled up quite quickly, and now the only available space ...
分类:其他好文   时间:2015-03-04 14:28:43    阅读次数:166
laravel5学习之表表之间的关系
一个user可以有很多article,一个article对应一个user。在article的migration中public function up() { Schema::create('articles', function(Blueprint $table) ...
分类:其他好文   时间:2015-03-03 23:26:06    阅读次数:280
【leetcode】Linked List Cycle II (middle)
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?思路:...
分类:其他好文   时间:2015-03-03 21:57:07    阅读次数:154
Android集成友盟推送功能
友盟是中国最大的移动开发者服务平台,为移动开发者提供免费的应用统计分析、社交分享、消息推送、自动更新、在线参数、移动推广效果分析、微社区等app开发和运营解决方案。如何快速集成友盟推送功能: 1. 注册友盟账号 友盟开发者账号的注册地址: http://www.umeng.com/users/sign_up 2. 创建推送应用 首先进入友盟消息推送的应用中心,创建一个应用,链接地址为...
分类:移动开发   时间:2015-03-03 16:41:06    阅读次数:1551
[LeetCode] Rotate Image
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?思路一:b[i][j] = a[n-1...
分类:其他好文   时间:2015-03-03 14:55:40    阅读次数:140
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!