码迷,mamicode.com
首页 > 其他好文
VLD(Visual LeakDetector)内存泄露库的使用
VLD简介 VLD使用 [cpp] view plain copy #include<vld.h> // 包含VLD的头文件 #include<stdlib.h> #include<stdio.h> void f() { int *p = new int(0x12345678); printf("p ...
分类:其他好文   时间:2016-09-14 07:14:38    阅读次数:183
LeetCode-Implement Queue using Stacks
Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue. pop() -- Removes the element from in front ...
分类:其他好文   时间:2016-09-14 07:15:06    阅读次数:143
Logstash 2.0.0 beta2 发布,开源日志管理
Logstash 是一个应用程序日志、事件的传输、处理、管理和搜索的平台。你可以用它来统一对应用程序日志进行收集管理,提供 Web 接口用于查询和统计。 Logstash 现在是 ElasticSearch 家族成员之一。 相关链接 Logstash 的详细介绍:请点这里 Logstash 的下载地 ...
分类:其他好文   时间:2016-09-14 07:13:55    阅读次数:103
搭建DirectUi开发平台
DirectUi的效果可以使用GDI、GDI+、DirectX、OpenGL实现,常用的有GDI和GDI+,后两种有杀鸡用牛刀的感觉。在网络上能找到此方面的教材 现在的软件越来越多的有很炫目的界面,看来商家是越来越重视用户体验了,这个一个流行趋势呀。从技术上来说,美化界面基本有两种方式: 1. Di ...
分类:其他好文   时间:2016-09-14 07:11:41    阅读次数:267
BZOJ4699 : 树上的最短路
这道题主要是要解决以下两个问题: 问题1: 给定一个点$x$,如何取出所有经过它的下水道? 一条下水道经过$x$等价于它起点在$x$的子树里面且终点不在$x$的子树里面,或者两端点的lca就是$x$。 对于第一种情况,也就是说起点在$x$的dfs序子区间里,终点小于$st[x]$或者大于$en[x] ...
分类:其他好文   时间:2016-09-14 07:10:58    阅读次数:221
NYOJ题目889求距离
题目可以抽象一下为计算坐标系上两点间的距离,即 AC代码: 题目来源: http://acm.nyist.net/JudgeOnline/problem.php?pid=889 ...
分类:其他好文   时间:2016-09-14 07:12:30    阅读次数:150
109. Convert Sorted List to Binary Search Tree
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. BST ...
分类:其他好文   时间:2016-09-14 07:11:09    阅读次数:124
143. Reorder List
Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this in-place without altering the nodes' values. For ...
分类:其他好文   时间:2016-09-14 07:10:44    阅读次数:124
NYOJ题目845无主之地1
这道题有坑,就是打印的顺序必须是和输入的顺序一致,这就是他所谓的不排序的意思,瞬间将复杂度提高出题人真是“好水平”.... AC代码: 题目来源: http://acm.nyist.net/JudgeOnline/problem.php?pid=845 ...
分类:其他好文   时间:2016-09-14 07:11:40    阅读次数:127
蚂蚁云笔记
今天发现一个好东西,叫蚂蚁云笔记,感觉不错 地址: https://leanote.com/ ...
分类:其他好文   时间:2016-09-14 07:10:51    阅读次数:164
Vijos1448校门外的树 题解
Vijos1448校门外的树 题解 Vijos1448校门外的树 题解 描述: 校门外有很多树,有苹果树,香蕉树,有会扔石头的,有可以吃掉补充体力的…… 如今学校决定在某个时刻在某一段种上一种树,保证任一时刻不会出现两段相同种类的树,现有两个操作: K=1,K=1,读入l、r表示在区间[l,r]中种 ...
分类:其他好文   时间:2016-09-14 07:10:19    阅读次数:188
简单的顺序队列
#include<stdio.h>#include<malloc.h> #define max 100typedef struct node{ int queue[max]; int front,rear;}q,*queue;void init(queue p){ p->front=-1; p->r ...
分类:其他好文   时间:2016-09-14 07:08:22    阅读次数:120
Laravel 5 系列入门教程(一)【最适合中国人的 Laravel 教程】
Laravel 5 系列入门教程(一)【最适合中国人的 Laravel 教程】 分享 ? johnlui ? 于 2年前 ? 最后回复由 skys215 于 11个月前 ? 17543 阅读 Laravel 5 系列入门教程(一)【最适合中国人的 Laravel 教程】 分享 ? johnlui ? ...
分类:其他好文   时间:2016-09-14 07:08:04    阅读次数:144
ElasticSearch logo 分布式搜索引擎 ElasticSearch
原文来自:http://www.oschina.net/p/elasticsearch Elastic Search 是一个基于Lucene构建的开源,分布式,RESTful搜索引擎。设计用于云计算中,能够达到实时搜索,稳定,可靠,快速,安装使用方便。支持通过HTTP使用JSON进行数据索引。 El ...
分类:其他好文   时间:2016-09-14 07:08:26    阅读次数:145
Code[VS]1690 开关灯 题解
Code[VS]1690 开关灯 题解 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 钻石 Diamond 题目描述 Description: YYX家门前的街上有N(2<=N<=100000)盏路灯,在晚上六点之前,这些路灯全是关着的,六点之后,会有M(2<=m<=100000 ...
分类:其他好文   时间:2016-09-14 07:07:29    阅读次数:146
CTF-REVERSE-Daily(4)-Elfcrackme2
链接:http://pan.baidu.com/s/1hshVzvu 密码:sd4d 非常非常坑爹的一道题目,看似非常简单,实则有很深的套路 我会综合写出三种方法,包括 结合ascii码值范围的爆破,动态调试解法,静态调试解法 (感谢我xx学长的支持和某位网友的writeup) 1.首先拿到该程序, ...
分类:其他好文   时间:2016-09-14 07:06:12    阅读次数:110
开源Log框架和平台介绍
共有162款 日志工具(Logging)开源软件 http://www.oschina.net/project/tag/144/logging ...
分类:其他好文   时间:2016-09-14 07:07:47    阅读次数:119
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!