码迷,mamicode.com
首页 > 其他好文
交换指针
1。今天早上突发奇想,复习一下指针交换,由于一时的忘记,准备写到这里,以备以后复习。 首先指针的交换,必须传地址,而非传值。(你不相信,一会看结果)下面小小的函数来实现1 void swap(int *a,int *b)2 {3 int tmp = *a;4 *a ...
分类:其他好文   时间:2014-05-30 14:14:37    阅读次数:237
Apache Spark源码走读之12 -- Hive on Spark运行环境搭建
Hive是基于Hadoop的开源数据仓库工具,提供了类似于SQL的HiveQL语言,使得上层的数据分析人员不用知道太多MapReduce的知识就能对存储于Hdfs中的海量数据进行分析。由于这一特性而收到广泛的欢迎。Hive的整体框架中有一个重要的模块是执行模块,这一部分是用Hadoop中MapRed...
分类:其他好文   时间:2014-05-30 14:23:07    阅读次数:409
团队开发效绩考核
团队开发告一小段落,效绩考核如下:赵顺杰马帅强节振华冯渊尚矫健是否按时到会10010010060100会上积极发言100100100100100按时完成各自工作8080808080不干扰他人100100100100100总分380380380340380冯渊虽然很少开会,但他在找客户上付出了自己的一...
分类:其他好文   时间:2014-05-30 14:25:44    阅读次数:156
SCOI2014题解
SCOI2014由极不靠谱的电子坑爹大学出题。电子坑爹大学打破了多年行规,暴力+NOIP500分居然不能进队。极其逗比的第一天暴力给10分!!还好有些题不是很难,省队爷分数大概在150以上(最高420) Day1 第一题由于YY可以发现,提升[l,r]不如提升[l,n],所以列出一个状态f[...
分类:其他好文   时间:2014-05-30 14:29:46    阅读次数:362
poj 1094 Sorting It All Out
DescriptionAn ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smalle...
分类:其他好文   时间:2014-05-30 14:31:10    阅读次数:297
其实我有梦想
处女座的人,什么东西都想要最好,以至于绝大多数精力都耗在了细枝末节上,而忽略了目标本身。久久以来,有三个问题一直萦绕在我心头,不得其解。1. 如何赚到钱打工,在这样的二线城市,只能解决温饱,根本谈不上赚钱。2. 是否应该想尽一切办法买房看到有人连刷10张信用卡套现来买房,深有感触。3. 是否该自己创...
分类:其他好文   时间:2014-05-30 14:32:27    阅读次数:167
2014年5月份 总结
五月份,我过得异常的辛苦,心苦。再也不要这样赶论文了,一定要学好编程,数据结构和算法。血淋林的教训!五月份,谢谢小张不离不弃在我最难过的时候的陪伴,谢谢小玉的毫不犹豫的帮助~也谢谢我曾经很喜欢的人的冷淡,让我明白谁世事会变。一定要减肥,刻不容缓;一定要练习编程,刻不容缓!但是,我想在心底多一份从容,...
分类:其他好文   时间:2014-05-30 14:35:13    阅读次数:146
新买了ipad,在ipad上面看见的一个效果,pc上应该也见过,但是还是ipad上面有印象,如果是弹性运动就最好了
新买了ipad,在ipad上面看见的一个效果,pc上应该也见过,但是还是ipad上面有印象,如果是弹性运动就最好了无标题文档
分类:其他好文   时间:2014-05-30 14:43:16    阅读次数:237
案例:焦点图轮播特效
案例:焦点图轮播特效案例:焦点图轮播特效案例:固定边栏滚动特效案例:固定边栏滚动特效案例:弹出层效果案例:弹出层效果案例:分页页码制作案例:分页页码制作
分类:其他好文   时间:2014-05-30 14:48:43    阅读次数:243
Kendo UI Grid 模型绑定
分享一个Kendo UI中的典型模型绑定实例
分类:其他好文   时间:2014-05-30 14:58:12    阅读次数:481
Triangle
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:其他好文   时间:2014-05-30 14:59:37    阅读次数:241
Best Time to Buy and Sell Stock II
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-05-30 15:00:54    阅读次数:335
Candy
There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following requi...
分类:其他好文   时间:2014-05-30 15:04:58    阅读次数:224
Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他好文   时间:2014-05-30 15:03:42    阅读次数:237
Copy List with Random Pointer
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:其他好文   时间:2014-05-30 15:07:49    阅读次数:260
LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:其他好文   时间:2014-05-30 15:09:06    阅读次数:223
Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST./** * Definition for binary tree * struct TreeNode { ...
分类:其他好文   时间:2014-05-30 15:10:23    阅读次数:227
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!